[Commits] [SCM] claws branch, master, updated. 3.13.2-87-gf268c34

ticho at claws-mail.org ticho at claws-mail.org
Thu Mar 24 21:41:32 CET 2016


The branch, master has been updated
       via  f268c3466a04a491bc9061361a7c8887e3d5a95d (commit)
      from  a9ead9d10f511119061dd7619aa7b050d1dc9507 (commit)

Summary of changes:
 src/passwordstore.c |    1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit f268c3466a04a491bc9061361a7c8887e3d5a95d
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Thu Mar 24 21:40:39 2016 +0100

    Set empty block->entries to NULL in passwd_store_delete_block().

diff --git a/src/passwordstore.c b/src/passwordstore.c
index dcb9d52..d2394d8 100644
--- 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;
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list