svn commit: samba r23451 - in	branches/SAMBA_3_0_26/source/registry: . Author: obnox
Date: 2007-06-12 22:32:34 +0000 (Tue, 12 Jun 2007)
New Revision: 23451

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23451

Log:
Merge r20626 from 3_0:

Fix a memleak found by the IBM checker.

Michael


Modified:
   branches/SAMBA_3_0_26/source/registry/reg_frontend.c


Changeset:
Modified: branches/SAMBA_3_0_26/source/registry/reg_frontend.c
===================================================================
--- branches/SAMBA_3_0_26/source/registry/reg_frontend.c	2007-06-12 19:59:38 UTC (rev 23450)
+++ branches/SAMBA_3_0_26/source/registry/reg_frontend.c	2007-06-12 22:32:34 UTC (rev 23451)
@@ -643,6 +643,7 @@
 	p = strchr(path, '\\\\');
 
 	if ((p == NULL) || (p[1] == '\\0')) {
+		SAFE_FREE(path);
 		return WERR_INVALID_PARAM;
 	}
 

