Memory leak in tdb/tdb.c

Ong Kian Win codegrunt at rubbercookie.com
Tue Feb 26 21:53:11 GMT 2002


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




More information about the samba-technical mailing list