From: Volker Lendecke Date: Sat, 21 Apr 2012 10:04:13 +0000 (+0200) Subject: s3: Initialize "stored_callback" in dbwrap_cache X-Git-Tag: samba-4.0.0alpha20~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d26028316d69f2346cfa7f39c9678d94a58b4535;p=thirdparty%2Fsamba.git s3: Initialize "stored_callback" in dbwrap_cache This should fix one of the recent flaky tests --- diff --git a/source3/lib/dbwrap/dbwrap_cache.c b/source3/lib/dbwrap/dbwrap_cache.c index e0fced591b1..d61aa89a44f 100644 --- a/source3/lib/dbwrap/dbwrap_cache.c +++ b/source3/lib/dbwrap/dbwrap_cache.c @@ -208,6 +208,7 @@ struct db_context *db_open_cache(TALLOC_CTX *mem_ctx, db->transaction_cancel = dbwrap_cache_transaction_cancel; db->parse_record = dbwrap_cache_parse_record; db->exists = dbwrap_cache_exists; + db->stored_callback = NULL; db->wipe = NULL; db->lock_order = 0; db->persistent = false;