torture: NULL out after talloc_free
authorGarming Sam <garming@catalyst.net.nz>
Mon, 29 Dec 2014 20:36:37 +0000 (09:36 +1300)
committerJeremy Allison <jra@samba.org>
Tue, 30 Dec 2014 01:49:01 +0000 (02:49 +0100)
commit0f9b35d4d4d2df61c197d5392546f3c26c25e940
tree678f7db0f466e74c5e07940f068f84169fd05187
parent3eda09d7eb3fcfdfbe5fc436c774c8fbc82a016f
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
lib/torture/torture.c