svn commit: samba r14427 - in branches/SAMBA_4_0/source/kdc: .
tridge at samba.org
tridge at samba.org
Wed Mar 15 05:49:04 GMT 2006
Author: tridge
Date: 2006-03-15 05:49:02 +0000 (Wed, 15 Mar 2006)
New Revision: 14427
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14427
Log:
don't reference short_princ after it is freed
Modified:
branches/SAMBA_4_0/source/kdc/hdb-ldb.c
Changeset:
Modified: branches/SAMBA_4_0/source/kdc/hdb-ldb.c
===================================================================
--- branches/SAMBA_4_0/source/kdc/hdb-ldb.c 2006-03-15 05:48:39 UTC (rev 14426)
+++ branches/SAMBA_4_0/source/kdc/hdb-ldb.c 2006-03-15 05:49:02 UTC (rev 14427)
@@ -478,7 +478,7 @@
short_princ_talloc = talloc_strdup(mem_ctx, short_princ);
free(short_princ);
- if (!short_princ || !short_princ_talloc) {
+ if (!short_princ_talloc) {
krb5_set_error_string(context, "LDB_lookup_principal: talloc_strdup() failed!");
return ENOMEM;
}
More information about the samba-cvs
mailing list