From 58aa807116b59216b84adf01cf6f87d585a80e34 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 11 Jul 2018 15:23:09 -0700 Subject: [PATCH] python: pysmbd: Additional error path leak fix. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13474 Signed-off-by: Jeremy Allison --- source3/smbd/pysmbd.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.18.0.203.gfac676dfb9-goog