From 46ea0d333e4f967c1e769339dfa3efcf1ae8c77d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 17 Mar 2008 01:05:48 +0100 Subject: registry: don't leak on success path in regdb_store_keys(). Michael (This used to be commit 331d7fd2ea6d8aeb029478a6ab8d4051fa2c03fd) --- source3/registry/reg_backend_db.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 8a859301f0..6f8f95e7b5 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -618,6 +618,7 @@ bool regdb_store_keys(const char *key, REGSUBKEY_CTR *ctr) goto fail; } + TALLOC_FREE(ctx); return true; cancel: -- cgit