]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tests: Fixed memory leak in test_functions
authorJan Safranek <jsafrane@redhat.com>
Wed, 24 Aug 2011 09:41:34 +0000 (11:41 +0200)
committerJan Safranek <jsafrane@redhat.com>
Wed, 14 Sep 2011 11:24:41 +0000 (13:24 +0200)
commitf265fe52c5b97df5931a54bebc47d87b4c859005
tree528479de36a04c63159d648f7f1146f3ee95c467
parent9d455fe260ba92435e935b54915203f5057751a6
tests: Fixed memory leak in test_functions

Free the cgroup on error.

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
tests/test_functions.c