summaryrefslogtreecommitdiff
path: root/source4/lib/registry
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-21 15:51:04 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-21 15:51:04 +0200
commitfdf0d9bbb89155e5bd793729468dc457448054e5 (patch)
tree9e908e37d674a525c88be693c812075fb0dfa441 /source4/lib/registry
parent19aec78aec846e5f66b3930a4053beea30318c4a (diff)
downloadsamba-fdf0d9bbb89155e5bd793729468dc457448054e5.tar.gz
samba-fdf0d9bbb89155e5bd793729468dc457448054e5.tar.bz2
samba-fdf0d9bbb89155e5bd793729468dc457448054e5.zip
Fix double free.
Diffstat (limited to 'source4/lib/registry')
-rw-r--r--source4/lib/registry/ldb.c1
1 files changed, 0 insertions, 1 deletions
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;
}