projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bafa994
)
Fix CID 1492295: explicit null dereferenced (due to previous commit).
author
wwp
<subscript@free.fr>
Thu, 30 Sep 2021 09:09:35 +0000
(11:09 +0200)
committer
wwp
<subscript@free.fr>
Thu, 30 Sep 2021 09:09:35 +0000
(11:09 +0200)
src/plugins/archive/libarchive_archive.c
patch
|
blob
|
history
diff --git
a/src/plugins/archive/libarchive_archive.c
b/src/plugins/archive/libarchive_archive.c
index c6366dde732a5b74d4b162abd0a9c3d582ba0242..66ebc03260c45d990407753d9cff10a3e2488d28 100644
(file)
--- a/
src/plugins/archive/libarchive_archive.c
+++ b/
src/plugins/archive/libarchive_archive.c
@@
-100,8
+100,10
@@
void archive_free_archived_files() {
GSList* l = NULL;
for (l = msg_trash_list; l; l = g_slist_next(l)) {
- gchar *name = folder_item_get_name(mt->item);
+ gchar *name;
+
mt = (MsgTrash *) l->data;
+ name = folder_item_get_name(mt->item);
debug_print("Trashing messages in folder: %s\n",
name);
g_free(name);