[libgit2-glib] commit: fix uninitialized variable
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] commit: fix uninitialized variable
- Date: Mon, 14 Mar 2016 22:40:47 +0000 (UTC)
commit ae37748f4b444b6f0f8abfd4eb2f516839b38430
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Mar 14 23:40:26 2016 +0100
commit: fix uninitialized variable
libgit2-glib/ggit-commit.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgit2-glib/ggit-commit.c b/libgit2-glib/ggit-commit.c
index a511423..8b18582 100644
--- a/libgit2-glib/ggit-commit.c
+++ b/libgit2-glib/ggit-commit.c
@@ -258,6 +258,7 @@ ggit_commit_get_author (GgitCommit *commit)
c = _ggit_native_get (commit);
author = git_commit_author (c);
+ git_signature_dup (&signature, author);
return _ggit_signature_wrap (signature,
ggit_commit_get_message_encoding (commit),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]