Fixed memory leaks in test suite
commit088a731f00a39fb3158dc9150b7c8d176df51867
authorVicent Marti <tanoku@gmail.com>
Wed, 9 Jun 2010 12:54:22 +0000 (9 14:54 +0200)
committerVicent Marti <tanoku@gmail.com>
Sat, 10 Jul 2010 19:15:12 +0000 (10 12:15 -0700)
treed25c9bb2bf4c052f41ead5328a068f6828d75ba2
parent58b0cbea74c160c61ec70768568e150c4d31f633
Fixed memory leaks in test suite

Created commit objects in t0401-parse weren't being freed properly.
Updated the API documentation to note that commit objects are owned
by the revision pool and should not be freed manually.

The parents list of each commit was being freed twice after each test.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
src/commit.c
src/git/commit.h
src/revwalk.c
tests/t0401-parse.c