https://bugzilla.redhat.com/show_bug.cgi?id=811989 (Red Hat Enterprise Linux 6)
Memory leak was found:
ipa_kdb_principals.c:377 - Function returns without freeing variable "entry".
I believe it is not a bug and Coverity is wrong here. The whole purpose of the ipadb_parse_ldap_entry() is to return newly allocated krb5_db_entry. We do clean up the half-filled entry if there was an error.
This is basically guaranteed to never happen, so I'm fixing it as a oneliner only in master.
Fixed in: adf16a9
Metadata Update from @mkosek: - Issue assigned to simo - Issue set to the milestone: FreeIPA 3.0 Core Effort - 2012/04
Login to comment on this ticket.