From 0e4ab9a5ac8e7a82b7cecd5978313c06fb77e364 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 9 Jan 2007 08:19:05 +0000 Subject: r20626: Fix a memleak found by the IBM checker -- not on 3.0.24 (This used to be commit 9d0a789e32e6a6501421edb25bc8197c9e06846d) --- source3/registry/reg_frontend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/registry/reg_frontend.c b/source3/registry/reg_frontend.c index 36aacaceba..2ec532dcdc 100644 --- a/source3/registry/reg_frontend.c +++ b/source3/registry/reg_frontend.c @@ -532,6 +532,7 @@ WERROR reg_delete_path(const struct nt_user_token *token, p = strchr(path, '\\'); if ((p == NULL) || (p[1] == '\0')) { + SAFE_FREE(path); return WERR_INVALID_PARAM; } -- cgit