[Freeipa-devel] [PATCH] 370 ipa-kdb: remove memory leaks

Martin Kosek mkosek at redhat.com
Tue Feb 12 11:24:48 UTC 2013


All known memory leaks caused by unfreed allocated memory or unfreed
LDAP results (which should be also done after unsuccessful searches)
are fixed.

One ipadb_need_retry result check was fixed as this function returns
trust in case of a need for retry and not a zero.

https://fedorahosted.org/freeipa/ticket/3413

---

This patch should be combined with Sumit's patch 0093 which would prevent
kdb5kdc from crashing when it is being terminted.

If you want to run krb5kdc in valgrind, check the command in the ticket which
would let valgrind also show symbols in dlopen'ed ipa-kdb plugin.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-370-ipa-kdb-remove-memory-leaks.patch
Type: text/x-patch
Size: 6378 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130212/41d33d3c/attachment.bin>


More information about the Freeipa-devel mailing list