s3: Make tdb_wrap_open more robust
commitcfc44d244152609e17a26db85bbbf827955958a7
authorVolker Lendecke <vl@samba.org>
Sat, 13 Mar 2010 18:05:38 +0000 (13 19:05 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 13 Mar 2010 19:20:37 +0000 (13 20:20 +0100)
tree4c01b3f7ec585f7d06895b69b50164de16041b9d
parent5eeb1fc44737a3b788fb84945966ded108caf3cf
s3: Make tdb_wrap_open more robust

This hides the use of talloc_reference from the caller, making it impossible to
wrongly call talloc_free() on the result.
source3/include/util_tdb.h
source3/lib/util_tdb.c