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);