[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-750-g494e471
Jelmer Vernooij
jelmer at samba.org
Fri Mar 27 11:58:51 GMT 2009
Hi Volker,
Volker Lendecke wrote:
> On Thu, Mar 26, 2009 at 11:19:52AM -0500, Jelmer Vernooij wrote:
>
>> commit e548ec9c24d7f05fea81910b8c7cf3fc0bd137db
>> Author: Jelmer Vernooij <jelmer at samba.org>
>> Date: Sun Mar 15 17:14:25 2009 +0100
>>
>> display_sec: Remove use of samba3-specific data types.
>>
>
> This contains:
>
> {
> char *mask_str = get_sec_mask_str(NULL, *info);
> printf("\t\tPermissions: 0x%x: %s\n", *info, mask_str ?
mask_str : "");
> - TALLOC_FREE(mask_str);
> + talloc_free(mask_str);
> }
>
> Why this change? lib/talloc/talloc.h now does contain
> TALLOC_FREE.
>
My change predates the move of TALLOC_FREE() to the common talloc.h, I
still needed talloc_free() at the time. I guess we can change it back
to TALLOC_FREE() now, though in this case there's not much point since
the pointer is discarded after this statement anyway.
Cheers,
Jelmer
More information about the samba-technical
mailing list