diff options
author | Samuel Cabrero <scabrero@zentyal.com> | 2014-05-28 17:57:31 +0200 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2014-05-30 15:29:29 +0200 |
commit | 90f9db9c062f2953c19f62dab3fab0b61d8c8e6c (patch) | |
tree | 475c7e1b2ade91050b32660c971e08254d71696e /source4/torture/libnetapi | |
parent | bd2231244204eaee2bd82c7d769d8e8ae5e81fcf (diff) | |
download | samba-90f9db9c062f2953c19f62dab3fab0b61d8c8e6c.tar.gz |
Fix several talloc stack frames not freed
Signed-off-by: Samuel Cabrero <scabrero@zentyal.com>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date(master): Fri May 30 15:29:29 CEST 2014 on sn-devel-104
Diffstat (limited to 'source4/torture/libnetapi')
-rw-r--r-- | source4/torture/libnetapi/libnetapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/libnetapi/libnetapi.c b/source4/torture/libnetapi/libnetapi.c index c5169760aaa..431b531beb1 100644 --- a/source4/torture/libnetapi/libnetapi.c +++ b/source4/torture/libnetapi/libnetapi.c @@ -35,6 +35,7 @@ bool torture_libnetapi_init_context(struct torture_context *tctx, if (!lp_load(lpcfg_configfile(tctx->lp_ctx), true, false, false, true)) { fprintf(stderr, "error loading %s\n", lpcfg_configfile(tctx->lp_ctx)); + talloc_free(frame); return W_ERROR_V(WERR_GENERAL_FAILURE); } |