From: Volker Lendecke Date: Mon, 9 Jul 2007 07:55:09 +0000 (+0000) Subject: r23756: Fix Coverity id 388 X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91af086823265ed66bbd0bdc1cced070b7dd0629;p=thirdparty%2Fsamba.git r23756: Fix Coverity id 388 --- diff --git a/source/lib/util_reg_api.c b/source/lib/util_reg_api.c index a4fb0261e31..43ad347d4b8 100644 --- a/source/lib/util_reg_api.c +++ b/source/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; }