From: Jose Dapena Paz Date: Mon, 20 Jul 2009 10:02:58 +0000 (+0200) Subject: Extra check in reply_forward (fix 5 for NB#126941) X-Git-Tag: 3.0.17-rc25~15 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=1b2e91130576f60b2a35a03ffba6553249c1b7f0 Extra check in reply_forward (fix 5 for NB#126941) --- diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index f3fb660..9c7e9c6 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -1928,7 +1928,7 @@ reply_forward (ReplyForwardAction action, ModestWindow *win) ReplyForwardHelper *rf_helper = NULL; guint reply_forward_type; - g_return_if_fail (MODEST_IS_WINDOW(win)); + g_return_if_fail (win && MODEST_IS_WINDOW(win)); /* we check for low-mem; in that case, show a warning, and don't allow * reply/forward (because it could potentially require a lot of memory */