Fix various memory leaks.
authorMiloslav Trmač <mitr@redhat.com>
Sat, 13 Apr 2013 01:19:17 +0000 (03:19 +0200)
committerColin Walters <walters@verbum.org>
Mon, 15 Apr 2013 12:17:44 +0000 (08:17 -0400)
commit63ee649bd14c5dfa7985840061097bbac01ab721
tree99b951038ea14056d4c50c9e9d5a7eec172f1ee4
parent00dd36e41f95a37f61a99be74cc172c05a288e86
Fix various memory leaks.

The XML_ParserCreate_MM one was found by Florian Weimer in
https://bugzilla.redhat.com/show_bug.cgi?id=888728 .

This should cover everything found by valgrind on the JS authority
test, augmented with a call to
polkit_backend_authority_enumerate_actions() to verify the
XML_ParserCreate_MM case.

https://bugs.freedesktop.org/show_bug.cgi?id=63492
src/polkitbackend/polkitbackendactionpool.c
src/polkitbackend/polkitbackendjsauthority.c
test/mocklibc/src/netgroup.c
test/polkitbackend/test-polkitbackendjsauthority.c