diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/tdb/tdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index 36b90ef6fc..ad67e9393e 100644 --- a/source3/tdb/tdb.c +++ b/source3/tdb/tdb.c @@ -1562,6 +1562,7 @@ TDB_CONTEXT *tdb_open_ex(const char *name, int hash_size, int tdb_flags, if (tdb->fd != -1) close(tdb->fd); SAFE_FREE(tdb->locked); + SAFE_FREE(tdb); errno = save_errno; return NULL; } |