mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
torture: NULL out after talloc_free
This appeared as a segmentation fault in rpc.spoolss.printer. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Dec 30 02:49:01 CET 2014 on sn-devel-104
This commit is contained in:
parent
3eda09d7eb
commit
0f9b35d4d4
@ -460,6 +460,7 @@ static bool internal_torture_run_test(struct torture_context *context,
|
||||
context->last_reason);
|
||||
|
||||
talloc_free(context->last_reason);
|
||||
context->last_reason = NULL;
|
||||
|
||||
context->active_test = NULL;
|
||||
context->active_tcase = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user