svn commit: samba r16614 - in branches/SAMBA_3_0/source/utils: .
jra at samba.org
jra at samba.org
Wed Jun 28 04:56:24 GMT 2006
Author: jra
Date: 2006-06-28 04:56:23 +0000 (Wed, 28 Jun 2006)
New Revision: 16614
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16614
Log:
Klocwork #2012. memleak on error path.
Jeremy.
Modified:
branches/SAMBA_3_0/source/utils/net_rpc_registry.c
Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc_registry.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc_registry.c 2006-06-28 04:56:19 UTC (rev 16613)
+++ branches/SAMBA_3_0/source/utils/net_rpc_registry.c 2006-06-28 04:56:23 UTC (rev 16614)
@@ -410,6 +410,7 @@
if ((nk = regfio_rootkey( registry )) == NULL) {
d_fprintf(stderr, "Could not get rootkey\n");
+ regfio_close( registry );
return 1;
}
d_printf("[%s]\n", nk->keyname);
More information about the samba-cvs
mailing list