svn commit: samba r21021 - in branches: SAMBA_3_0/source/libads SAMBA_3_0_24/source/libads

gd at samba.org gd at samba.org
Thu Jan 25 16:54:54 GMT 2007


Author: gd
Date: 2007-01-25 16:54:53 +0000 (Thu, 25 Jan 2007)
New Revision: 21021

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

Log:
Fix memleak.

Guenther

Modified:
   branches/SAMBA_3_0/source/libads/ldap.c
   branches/SAMBA_3_0_24/source/libads/ldap.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0/source/libads/ldap.c	2007-01-25 15:05:23 UTC (rev 21020)
+++ branches/SAMBA_3_0/source/libads/ldap.c	2007-01-25 16:54:53 UTC (rev 21021)
@@ -301,6 +301,7 @@
 			goto again;
 		}
 		
+		SAFE_FREE(sitename);
 		return status;
 	}
 

Modified: branches/SAMBA_3_0_24/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0_24/source/libads/ldap.c	2007-01-25 15:05:23 UTC (rev 21020)
+++ branches/SAMBA_3_0_24/source/libads/ldap.c	2007-01-25 16:54:53 UTC (rev 21021)
@@ -301,6 +301,7 @@
 			goto again;
 		}
 		
+		SAFE_FREE(sitename);
 		return status;
 	}
 



More information about the samba-cvs mailing list