projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9b0f657
)
Fix possible segmentation fault
author
Michael Rasmussen
<mir@datanom.net>
Mon, 4 Mar 2019 23:12:33 +0000
(
00:12
+0100)
committer
Michael Rasmussen
<mir@datanom.net>
Mon, 4 Mar 2019 23:12:33 +0000
(
00:12
+0100)
Signed-off-by: Michael Rasmussen <mir@datanom.net>
src/etpan/imap-thread.c
patch
|
blob
|
history
diff --git
a/src/etpan/imap-thread.c
b/src/etpan/imap-thread.c
index be5678cb8a2c185f5e3c0c47b38da1ca4e2213fb..b68e303f9ea98bec91a77350cee9d6a7ad24a487 100644
(file)
--- a/
src/etpan/imap-thread.c
+++ b/
src/etpan/imap-thread.c
@@
-3554,7
+3554,7
@@
void imap_threaded_cancel(Folder * folder)
mailimap * imap;
imap = get_imap(folder);
mailimap * imap;
imap = get_imap(folder);
- if (imap->imap_stream != NULL)
+ if (imap
&& imap
->imap_stream != NULL)
mailstream_cancel(imap->imap_stream);
}
mailstream_cancel(imap->imap_stream);
}