Fixed a crash in HTML -> text conversor when the body is empty
[modest] / src / modest-formatter.c
index 0328be8..9e89ad9 100644 (file)
@@ -73,7 +73,7 @@ extract_text (ModestFormatter *self, TnyMimePart *body)
 {
        TnyStream *mp_stream;
        TnyStream *stream;
-       TnyStream *input_stream;
+       TnyStream *input_stream = NULL;
        GtkTextBuffer *buf;
        GtkTextIter start, end;
        gchar *text;