Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>2013-03-07 01:51:20 +0400
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>2013-03-07 01:51:20 +0400
commitaa518c709c8caa6577822e073e7f27733eb6aaa3 (patch)
tree105863c42a7b0bc266af2332036ada7a9f22a76e /src/notes.c
parentf7b18502154edac242ab3760feb05600e09d67b3 (diff)
added missing free for git_note in clar tests
Diffstat (limited to 'src/notes.c')
-rw-r--r--src/notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notes.c b/src/notes.c
index 0b286a77c..a1a47d989 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -643,7 +643,7 @@ int git_note_next(
int error;
const git_index_entry *item;
- if (error = git_iterator_current(it, &item) < 0)
+ if ((error = git_iterator_current(it, &item)) < 0)
goto exit;
if (item != NULL) {