Fix CID 1491067: resource leak.
[claws.git] / src / textview.c
index 9c779bc1f4784af67d6320f996a3744677cc3439..46b1d3704cf9d1923ce7f8a3d2aadf1025ea6b48 100644 (file)
@@ -1257,6 +1257,7 @@ static void textview_show_html(TextView *textview, FILE *fp,
                        GTK_EVENTS_FLUSH();
                if (textview->stop_loading) {
                        account_sigsep_matchlist_delete();
+                       sc_html_parser_destroy(parser);
                        return;
                }
        }