In tdb_allocate(), we would create a new record by writing a local variable
commitc69e4746d08fb90d77cbe58b29801e25999b5774
authorAndrew Bartlett <abartlet@samba.org>
Thu, 8 Jan 2004 05:37:23 +0000 (8 05:37 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Jan 2004 05:37:23 +0000 (8 05:37 +0000)
tree480e8e96fda726421cb5bf11130ee88dbe75dee7
parente0ec9d2d5697bf95626da736f6f9552e10e52ffc
In tdb_allocate(), we would create a new record by writing a local variable
'newrec' into the tdb.

This was not initialised, so valgrind warned about it.

(Note:  valgrind only makes sense on tdbs with 'mmap = no' in your smb.conf)

Andrew Bartlett
(This used to be commit c9f9d6d3171d720b4ec0ba6af8c0c8ab178cd98b)
source3/tdb/tdb.c