diff options
-rw-r--r-- | source3/lib/util_reg_api.c | 1 |
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; } |