From 813bdf466d1e0262c7b4bdf98343451db08c60f6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 13 Aug 2011 13:42:04 +1000 Subject: ldb: Remove use after free in error case Autobuild-User: Andrew Bartlett Autobuild-Date: Sat Aug 13 13:49:44 CEST 2011 on sn-devel-104 --- lib/ldb/ldb_tdb/ldb_tdb.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/ldb/ldb_tdb/ldb_tdb.c b/lib/ldb/ldb_tdb/ldb_tdb.c index d111e01118..f07a9d2ae7 100644 --- a/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/lib/ldb/ldb_tdb/ldb_tdb.c @@ -1511,7 +1511,6 @@ static int ltdb_connect(struct ldb_context *ldb, const char *url, if (ltdb_cache_load(module) != 0) { talloc_free(module); - talloc_free(ltdb); return LDB_ERR_OPERATIONS_ERROR; } -- cgit