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

Reply via email to