Fix memory leak in libnet_vampire_cb_store_chunk

Andrew Bartlett abartlet at
Wed Mar 7 00:21:52 UTC 2018

On Tue, 2018-03-06 at 14:02 +0100, Andrej Gessel via samba-technical
> Hello list,
> i found some older patch for possible memory leak in 
> libnet_vampire_cb_store_chunk.
> Please review. Thanks

Thanks.  The memory would stay on 's' until that is freed, but you are
correct it could be freed earlier if the correct context was used.

Can you add your signed-off-by and send in your DCO per the
Contributing page in the wiki?


Andrew Bartlett
Authentication Developer, Samba Team
Samba Development and Support, Catalyst IT

More information about the samba-technical mailing list