summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2018-07-11 15:23:09 -0700
committerKarolin Seeger <kseeger@samba.org>2018-07-12 13:10:26 +0200
commitadef988e517384f80dd21f187bf63a54efe8efbd (patch)
tree91717bb50c011f2463c9d33d04cbf9e641530703 /source3
parent425f513e98a9446e487dd5cd5d9de7ee58404bff (diff)
downloadsamba-adef988e517384f80dd21f187bf63a54efe8efbd.tar.gz
python: pysmbd: Additional error path leak fix.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13474 Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/pysmbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c
index 41b44ad2d42..f1b46be6c2a 100644
--- a/source3/smbd/pysmbd.c
+++ b/source3/smbd/pysmbd.c
@@ -396,6 +396,7 @@ static PyObject *py_smbd_set_simple_acl(PyObject *self, PyObject *args, PyObject
conn = get_conn(frame, service);
if (!conn) {
+ TALLOC_FREE(frame);
return NULL;
}