]> gitweb.ps.run Git - ps-cgit/commit
scan-tree.c: avoid memory leak
authorJamie Couture <jamie.couture@gmail.com>
Fri, 3 Jun 2011 23:21:01 +0000 (19:21 -0400)
committerLars Hjemli <hjemli@gmail.com>
Mon, 6 Jun 2011 19:10:31 +0000 (19:10 +0000)
commit2a8f553163d642e60092ced20631e1020581273b
treea51ca48a4395abd80530851d0ca75629231ca14e
parentd885158f6ac29e04bd14dd132331c7e3a93e7490
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>
scan-tree.c