diff options
author | Jamie Couture <jamie.couture@gmail.com> | 2011-06-04 01:21:01 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-06-06 21:10:31 +0200 |
commit | 2a8f553163d642e60092ced20631e1020581273b (patch) | |
tree | a51ca48a4395abd80530851d0ca75629231ca14e /tests/t0020-validate-cache.sh | |
parent | d885158f6ac29e04bd14dd132331c7e3a93e7490 (diff) | |
download | cgit-2a8f553163d642e60092ced20631e1020581273b.tar.gz cgit-2a8f553163d642e60092ced20631e1020581273b.tar.xz |
scan-tree.c: avoid memory leak
No references are kept to the memory pointed to by the 'rel' variable, so
it should be free()'d before returning from add_repo().
Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
Signed-off-by: Lars Hjemli <larsh@hjemli.net>
Diffstat (limited to 'tests/t0020-validate-cache.sh')
0 files changed, 0 insertions, 0 deletions