[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-857-g2050187

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Apr 6 20:11:35 GMT 2009


On Mon, Apr 06, 2009 at 08:55:37AM -0500, Günther Deschner wrote:
>     s3:libads Make ads_get_dn() take a talloc context
>     
>     Also remove ads_memfree(), which was only ever a wrapper around
>     SAFE_FREE, used only to free the DN from ads_get_ds().
>     
>     This actually makes libgpo more consistant, as it mixed a talloc and a
>     malloc based string on the same element.
>     
>     Andrew Bartlett
>     
>     Signed-off-by: Günther Deschner <gd at samba.org>

...

> -	wkn_dn = ads_get_dn(ads, res);
> +	wkn_dn = ads_get_dn(ads, NULL, res);

Can someone please explain to me why this NULL is not a
talloc_tos()?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090406/257b71cb/attachment.bin


More information about the samba-technical mailing list