projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed crash:modest-mail-operation.c:on_refresh_folder:priv==NULL
[modest]
/
src
/
modest-mail-operation.c
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
f904a19
..
0589964
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-2547,6
+2547,8
@@
on_refresh_folder (TnyFolder *folder,
self = helper->mail_op;
priv = MODEST_MAIL_OPERATION_GET_PRIVATE(self);
+ g_return_if_fail(priv!=NULL);
+
if (*error) {
priv->error = g_error_copy (*error);
priv->status = MODEST_MAIL_OPERATION_STATUS_FAILED;