projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
47d8e58
)
Check null value of account before unref in on_open_message_performer (fix 7 for...
author
Jose Dapena Paz
<jdapena@igalia.com>
Mon, 20 Jul 2009 10:07:31 +0000
(12:07 +0200)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Mon, 20 Jul 2009 10:21:54 +0000
(12:21 +0200)
src/dbus_api/modest-dbus-callbacks.c
patch
|
blob
|
history
diff --git
a/src/dbus_api/modest-dbus-callbacks.c
b/src/dbus_api/modest-dbus-callbacks.c
index
ffc0be7
..
ca225ba
100644
(file)
--- a/
src/dbus_api/modest-dbus-callbacks.c
+++ b/
src/dbus_api/modest-dbus-callbacks.c
@@
-627,7
+627,8
@@
on_open_message_performer (gboolean canceled,
gtk_widget_show_all (GTK_WIDGET (msg_view));
}
}
gtk_widget_show_all (GTK_WIDGET (msg_view));
}
}
- g_object_unref (account);
+ if (account)
+ g_object_unref (account);
}
on_find_msg_async_destroy (info);
}
on_find_msg_async_destroy (info);