svn commit: samba r16613 - in trunk/source/utils: .
jra at samba.org
jra at samba.org
Wed Jun 28 04:56:20 GMT 2006
Author: jra
Date: 2006-06-28 04:56:19 +0000 (Wed, 28 Jun 2006)
New Revision: 16613
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16613
Log:
Klocwork #2012. memleak on error path.
Jeremy.
Modified:
trunk/source/utils/net_rpc_registry.c
Changeset:
Modified: trunk/source/utils/net_rpc_registry.c
===================================================================
--- trunk/source/utils/net_rpc_registry.c 2006-06-28 04:51:23 UTC (rev 16612)
+++ trunk/source/utils/net_rpc_registry.c 2006-06-28 04:56:19 UTC (rev 16613)
@@ -399,6 +399,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