From 031ccc8bf90d27be0f3276827722472bb097ba1d Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Tue, 16 Feb 2021 15:38:55 +0000 Subject: [PATCH] WebView: fix images git-svn-id: svn://kolibrios.org@8594 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/browser/WebView.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/cmm/browser/WebView.c b/programs/cmm/browser/WebView.c index 135bbb0966..3a7ae94774 100644 --- a/programs/cmm/browser/WebView.c +++ b/programs/cmm/browser/WebView.c @@ -238,6 +238,7 @@ void main() } LoadInternalPage(http.content_pointer, http.content_received); free(http.content_pointer); + http.hfree(); } else if (http_get_type==IMG) { _IMG_RES: @@ -247,9 +248,9 @@ void main() cache.add(cur_img_url, 0, 0, IMG, NULL); } free(http.content_pointer); + http.hfree(); GetImg(false); } - http.hfree(); } break; default: