summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/dbwrap/dbwrap_ctdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index ee800a89aa..3ad7c60987 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -1402,6 +1402,8 @@ static void traverse_read_callback(TDB_DATA key, TDB_DATA data, void *private_da
{
struct traverse_state *state = (struct traverse_state *)private_data;
struct db_record rec;
+
+ ZERO_STRUCT(rec);
rec.db = state->db;
rec.key = key;
rec.value = data;