aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dbhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-dbhash.c')
-rw-r--r--e-util/e-dbhash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-dbhash.c b/e-util/e-dbhash.c
index 7ac5dd0d8c..209798fbc5 100644
--- a/e-util/e-dbhash.c
+++ b/e-util/e-dbhash.c
@@ -148,6 +148,8 @@ e_dbhash_foreach_key (EDbHash *edbh, EDbHashFunc func, gpointer user_data)
return;
}
+ memset(&dkey, 0, sizeof(DBT));
+ memset(&ddata, 0, sizeof(DBT));
db_error = dbc->c_get(dbc, &dkey, &ddata, DB_FIRST);
while (db_error == 0) {