commit f268c3466a04a491bc9061361a7c8887e3d5a95d
parent a9ead9d10f511119061dd7619aa7b050d1dc9507
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Thu, 24 Mar 2016 21:40:39 +0100
Set empty block->entries to NULL in passwd_store_delete_block().
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/passwordstore.c b/src/passwordstore.c
@@ -226,6 +226,7 @@ gboolean passwd_store_delete_block(PasswordBlockType block_type,
}
g_hash_table_destroy(block->entries);
+ block->entries = NULL;
return TRUE;
}