commit adeb0b7efac83e1b6d00ebcae40c6d7fa498e9ec
parent 96b3a87eea02da805c22c5632b867dabb3ed5240
Author: wwp <subscript@free.fr>
Date: Sun, 26 Sep 2021 17:10:35 +0200
Fix CID 1491067: resource leak.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/textview.c b/src/textview.c
@@ -1278,6 +1278,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;
}
}