diff options
author | Vicent Martà <vicent@github.com> | 2012-06-21 11:22:45 -0700 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2012-06-21 11:22:45 -0700 |
commit | 7e912dd659c0e45300307e77a25c7af62b76887c (patch) | |
tree | 8c5ef095a3df85632820ffe8b9bdeded66ced794 /tests-clar/notes/notes.c | |
parent | 6a9239990ac1146928d4523b8d164f8995d46ce2 (diff) | |
parent | f95121cb4f9da6c5b06c9d0b31c2c9a969c1c09d (diff) | |
download | libgit2-7e912dd659c0e45300307e77a25c7af62b76887c.tar.gz |
Merge pull request #780 from schu/cleanup
Cleanup
Diffstat (limited to 'tests-clar/notes/notes.c')
-rw-r--r-- | tests-clar/notes/notes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/notes/notes.c b/tests-clar/notes/notes.c index 5f7f5a9c3..e1387782e 100644 --- a/tests-clar/notes/notes.c +++ b/tests-clar/notes/notes.c @@ -23,6 +23,8 @@ static void assert_note_equal(git_note *note, char *message, git_oid *note_oid) cl_git_pass(git_blob_lookup(&blob, _repo, note_oid)); cl_assert_equal_s(git_note_message(note), (const char *)git_blob_rawcontent(blob)); + + git_blob_free(blob); } static void create_note(git_oid *note_oid, const char *canonical_namespace, const char *target_sha, const char *message) |