Fix theoretical leak discovered by coverity

This was introduced when we started checking the return from
ipadb_get_context() to silence another coverity report.
That condition can never be true in this function but whatever ... let's
silence Coverity once again :)
This commit is contained in:
Simo Sorce committed 2012-04-17 15:40:58 -04:00
1 parent 72efa64c81
commit adf16a9b1c
1 file changed
+1
+1
View File
@@ -374,6 +374,7 @@ static krb5_error_code ipadb_parse_ldap_entry(krb5_context kcontext,
* krb5_db_entry in kdb.h */
ipactx = ipadb_get_context(kcontext);
if (!ipactx) {
free(entry);
return KRB5_KDB_DBNOTINITED;
}
lcontext = ipactx->lcontext;