Oops. =) Regards, Kian Win Samba CVS HEAD, Feb 25 10:09 +0800 --- tdb.c.bkp.0 Wed Jan 30 14:08:41 2002 +++ tdb.c Wed Feb 27 13:42:20 2002 @@ -1562,6 +1562,7 @@ if (tdb->fd != -1) close(tdb->fd); SAFE_FREE(tdb->locked); + SAFE_FREE(tdb); errno = save_errno; return NULL; }