Author: vlendec Date: 2007-03-10 18:04:47 +0000 (Sat, 10 Mar 2007) New Revision: 21782
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21782 Log: Fix a memleak Modified: branches/SAMBA_3_0/source/passdb/lookup_sid.c branches/SAMBA_3_0_25/source/passdb/lookup_sid.c Changeset: Modified: branches/SAMBA_3_0/source/passdb/lookup_sid.c =================================================================== --- branches/SAMBA_3_0/source/passdb/lookup_sid.c 2007-03-09 23:57:53 UTC (rev 21781) +++ branches/SAMBA_3_0/source/passdb/lookup_sid.c 2007-03-10 18:04:47 UTC (rev 21782) @@ -410,6 +410,7 @@ names[i] = ""; types[i] = SID_NAME_UNKNOWN; } + TALLOC_FREE(tmp_ctx); return True; } Modified: branches/SAMBA_3_0_25/source/passdb/lookup_sid.c =================================================================== --- branches/SAMBA_3_0_25/source/passdb/lookup_sid.c 2007-03-09 23:57:53 UTC (rev 21781) +++ branches/SAMBA_3_0_25/source/passdb/lookup_sid.c 2007-03-10 18:04:47 UTC (rev 21782) @@ -411,6 +411,7 @@ names[i] = ""; types[i] = SID_NAME_UNKNOWN; } + TALLOC_FREE(tmp_ctx); return True; }