From 32c69e6e2a089812610599ee9e0e832d2ffe195a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 18 Jul 2012 05:04:31 +0930 Subject: source3/rpc_server/svcctl/srv_svcctl_reg.c: fix stackframe leak svcctl_init_winreg() doesn't free its stackframe. Signed-off-by: Rusty Russell --- source3/rpc_server/svcctl/srv_svcctl_reg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/rpc_server/svcctl') 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; } -- cgit