summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-09 07:55:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:52 -0500
commit1a7eb52aeeee94e2e91fae69a003ce1b23e4eecd (patch)
treeec4f4574b457117d5446c75f6c824be194fb9c4b /source3
parent4ff7e6dbc92d77ccaa1805d03486e19b72ec7d26 (diff)
downloadsamba-1a7eb52aeeee94e2e91fae69a003ce1b23e4eecd.tar.gz
samba-1a7eb52aeeee94e2e91fae69a003ce1b23e4eecd.tar.bz2
samba-1a7eb52aeeee94e2e91fae69a003ce1b23e4eecd.zip
r23756: Fix Coverity id 388
(This used to be commit 91af086823265ed66bbd0bdc1cced070b7dd0629)
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;
}