svn commit: samba r19328 - in branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .

simo idra at samba.org
Mon Oct 16 11:52:35 GMT 2006


On Mon, 2006-10-16 at 11:12 +0000, tridge at samba.org wrote:
> Author: tridge
> Date: 2006-10-16 11:12:13 +0000 (Mon, 16 Oct 2006)
> New Revision: 19328
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19328
> 
> Log:
> 
> another leak plugged ....
> 
> Modified:
>    branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
> 
> 
> Changeset:
> Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
> ===================================================================
> --- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c	2006-10-16 11:03:48 UTC (rev 19327)
> +++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c	2006-10-16 11:12:13 UTC (rev 19328)
> @@ -751,7 +751,7 @@
>  		return ldb_next_request(module, req);
>  	}
>  
> -	down_req = talloc(module, struct ldb_request);
> +	down_req = talloc(req, struct ldb_request);
>  	if (down_req == NULL) {
>  		return LDB_ERR_OPERATIONS_ERROR;
>  	}

Here it was!
I've been looking for a misplaced malloc on a module context yesterday
without luck.
Thanks Tridge!

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-cvs mailing list