summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_reg_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/util_reg_api.c b/source3/lib/util_reg_api.c
index a4fb0261e3..43ad347d4b 100644
--- a/source3/lib/util_reg_api.c
+++ b/source3/lib/util_reg_api.c
@@ -82,6 +82,7 @@ WERROR registry_pull_value(TALLOC_CTX *mem_ctx,
if (length + 2 < length) {
/* Integer wrap. */
+ SAFE_FREE(tmp);
err = WERR_INVALID_PARAM;
goto error;
}
#n20'>20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51