diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-07-18 05:04:31 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-07-18 05:04:31 +0930 |
commit | 32c69e6e2a089812610599ee9e0e832d2ffe195a (patch) | |
tree | d2183ac1e0dd90d5ad8717a880aa4f8a4753ee30 /source3 | |
parent | bdc59fb538345d9571554dfef79469fa2c325c90 (diff) | |
download | samba-32c69e6e2a089812610599ee9e0e832d2ffe195a.tar.gz samba-32c69e6e2a089812610599ee9e0e832d2ffe195a.tar.bz2 samba-32c69e6e2a089812610599ee9e0e832d2ffe195a.zip |
source3/rpc_server/svcctl/srv_svcctl_reg.c: fix stackframe leak
svcctl_init_winreg() doesn't free its stackframe.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/svcctl/srv_svcctl_reg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/svcctl/srv_svcctl_reg.c b/source3/rpc_server/svcctl/srv_svcctl_reg.c index e695f0df8f..c3ce43f305 100644 --- a/source3/rpc_server/svcctl/srv_svcctl_reg.c +++ b/source3/rpc_server/svcctl/srv_svcctl_reg.c @@ -702,6 +702,7 @@ done: } } regdb_close(); + talloc_free(tmp_ctx); return ok; } |