WebView 3.32: fix images load

git-svn-id: svn://kolibrios.org@8698 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2021-04-27 20:32:18 +00:00
parent b930c6f5f7
commit 819b3e8259
4 changed files with 6 additions and 4 deletions

View File

@@ -238,7 +238,6 @@ void main()
}
LoadInternalPage(http.content_pointer, http.content_received);
free(http.content_pointer);
http.hfree();
}
else if (http_get_type==IMG) {
_IMG_RES:
@@ -247,8 +246,8 @@ void main()
} else {
cache.add(cur_img_url, 0, 0, IMG, NULL);
}
free(http.content_pointer);
http.hfree();
free(http.content_pointer);
GetImg(false);
}
}
@@ -726,6 +725,7 @@ void LoadInternalPage(dword _bufdata, _in_bufsize){
} else {
WB1.DrawPage();
}
http.hfree();
if (WB1.img_url.count) { GetImg(true); DrawOmnibox(); }
}
}