talloc_move - only nullify pointer if memory got "stolen"?
Uri Simchoni
uri at samba.org
Thu Mar 9 11:07:28 UTC 2017
On 03/09/2017 12:54 PM, Stefan Metzmacher wrote:
> Hi Uri,
>
>> Just came across this - is the attached patch correct / necessary?
>
> Can you give more details? In what situation does that happen?
>
> metze
>
I just looked at the code, no special "situation". I was wondering
whether I need to check the return value of talloc_move(), and what
happens if it fails.
Thanks,
Uri.
More information about the samba-technical
mailing list