1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

ldb: Remove use after free in error case

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Aug 13 13:49:44 CEST 2011 on sn-devel-104
This commit is contained in:
Andrew Bartlett 2011-08-13 13:42:04 +10:00
parent 070b970a9d
commit 813bdf466d

View File

@ -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;
}