projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a9ead9d
)
Set empty block->entries to NULL in passwd_store_delete_block().
author
Andrej Kacian
<ticho@claws-mail.org>
Thu, 24 Mar 2016 20:40:39 +0000
(21:40 +0100)
committer
Andrej Kacian
<ticho@claws-mail.org>
Thu, 24 Mar 2016 20:40:39 +0000
(21:40 +0100)
src/passwordstore.c
patch
|
blob
|
history
diff --git
a/src/passwordstore.c
b/src/passwordstore.c
index dcb9d523fc223e3260a1d91e1df3fec738d84248..d2394d8f32166879e0a77d5274e0c10ebe71b349 100644
(file)
--- 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);
}
g_hash_table_destroy(block->entries);
+ block->entries = NULL;
return TRUE;
}
return TRUE;
}