From: Joseph Sutton Date: Mon, 10 Apr 2023 21:46:37 +0000 (+1200) Subject: s4:dsdb: Fix leak X-Git-Tag: talloc-2.4.1~768 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07f3dbbf38ef1b42e58baeb9304fb23aecdd46da;p=thirdparty%2Fsamba.git s4:dsdb: Fix leak Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 417e34b79e6..addba4786f4 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -1737,6 +1737,7 @@ static int setup_primary_userPassword( return ret; } } + TALLOC_FREE(frame); return LDB_SUCCESS; }