From cfc44d244152609e17a26db85bbbf827955958a7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 13 Mar 2010 19:05:38 +0100 Subject: 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 | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/util_tdb.h b/source3/include/util_tdb.h index 80b95921d7..9666fc979a 100644 --- a/source3/include/util_tdb.h +++ b/source3/include/util_tdb.h @@ -28,8 +28,6 @@ struct tdb_wrap { struct tdb_context *tdb; - const char *name; - struct tdb_wrap *next, *prev; }; int tdb_chainlock_with_timeout( struct tdb_context *tdb, TDB_DATA key, -- cgit