diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-24 23:58:00 +0300 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-24 23:58:00 +0300 |
commit | 78db0239db2f5aafe2031cb4b3ce540deb6e8907 (patch) | |
tree | 2cde928d0174f62bbd2f9d016a7f5ffb887d14a7 /tests/filter | |
parent | c5e071873c1aa4a751202aedeefac7ddb982576c (diff) |
squash some leaks
Diffstat (limited to 'tests/filter')
-rw-r--r-- | tests/filter/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/filter/file.c b/tests/filter/file.c index 865c416c5..8243a026a 100644 --- a/tests/filter/file.c +++ b/tests/filter/file.c @@ -64,6 +64,7 @@ int buf_writestream_write(git_writestream *s, const char *buf, size_t len) int buf_writestream_close(git_writestream *s) { + GIT_UNUSED(s); return 0; } @@ -94,4 +95,5 @@ void test_filter_file__apply_stream(void) cl_assert_equal_s("crlf\ncrlf\ncrlf\ncrlf\n", write_target.buf.ptr); git_filter_list_free(fl); + write_target.base.free((struct git_writestream *)&write_target); } |