diff options
-rw-r--r-- | source3/utils/net.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index c37e426d53..fe8db1a4bf 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -973,6 +973,8 @@ static struct functable net_func[] = { { 0, 0, 0, 0} }; + TALLOC_CTX *frame = talloc_stackframe(); + zero_ip(&opt_dest_ip); load_case_tables(); @@ -1074,5 +1076,6 @@ static struct functable net_func[] = { rc = net_run_function(argc_new-1, argv_new+1, net_func, net_help); DEBUG(2,("return code = %d\n", rc)); + TALLOC_FREE(frame); return rc; } |