git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
torture: NULL out after talloc_free
[sfrench/samba-autobuild/.git]
/
lib
/
torture
/
torture.c
diff --git
a/lib/torture/torture.c
b/lib/torture/torture.c
index ff2f8c89399affc20f1500e85e608649f1e7402a..78d8261d1a359f7ce7669ea8af8209f694451119 100644
(file)
--- a/
lib/torture/torture.c
+++ b/
lib/torture/torture.c
@@
-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;