From fdf0d9bbb89155e5bd793729468dc457448054e5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 21 Oct 2008 15:51:04 +0200 Subject: Fix double free. --- source4/lib/registry/ldb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c index 0aa44fa468..7d78ba1a8f 100644 --- a/source4/lib/registry/ldb.c +++ b/source4/lib/registry/ldb.c @@ -391,7 +391,6 @@ static WERROR ldb_get_value(TALLOC_CTX *mem_ctx, struct hive_key *k, talloc_free(res); } - talloc_free(res); return WERR_OK; } -- cgit