diff options
author | Carlos MartÃn Nieto <carlos@cmartin.tk> | 2011-03-22 12:47:53 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-22 20:37:34 +0200 |
commit | 567fc1d20c734c34dd1c4c19be12abcc1622aa5d (patch) | |
tree | 37dd7d90ea1e0fc823fa95eb7737dcea48c572fe /include/git2/commit.h | |
parent | 70236bab2d64a4d34203b4e2bbc5d8f518ba618d (diff) | |
download | libgit2-567fc1d20c734c34dd1c4c19be12abcc1622aa5d.tar.gz |
refs loose_lookup: also free the buffer on success
Free the ref_file buffer at the end of the function also on
success. This fixes a small memory leak.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions