svn commit: samba r20626 - in branches/SAMBA_3_0/source/registry: .
vlendec at samba.org
vlendec at samba.org
Tue Jan 9 08:19:06 GMT 2007
Author: vlendec
Date: 2007-01-09 08:19:05 +0000 (Tue, 09 Jan 2007)
New Revision: 20626
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20626
Log:
Fix a memleak found by the IBM checker -- not on 3.0.24
Modified:
branches/SAMBA_3_0/source/registry/reg_frontend.c
Changeset:
Modified: branches/SAMBA_3_0/source/registry/reg_frontend.c
===================================================================
--- branches/SAMBA_3_0/source/registry/reg_frontend.c 2007-01-09 06:02:41 UTC (rev 20625)
+++ branches/SAMBA_3_0/source/registry/reg_frontend.c 2007-01-09 08:19:05 UTC (rev 20626)
@@ -532,6 +532,7 @@
p = strchr(path, '\\');
if ((p == NULL) || (p[1] == '\0')) {
+ SAFE_FREE(path);
return WERR_INVALID_PARAM;
}
More information about the samba-cvs
mailing list