forked from KolibriOS/kolibrios
WebView: move http.free() at the end
git-svn-id: svn://kolibrios.org@8574 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0d9f2bb886
commit
ca712957b8
@ -231,7 +231,6 @@ void main()
|
|||||||
} else {
|
} else {
|
||||||
// Loading the page is complete, free resources
|
// Loading the page is complete, free resources
|
||||||
redirect_count = 0;
|
redirect_count = 0;
|
||||||
http.hfree();
|
|
||||||
if (http_get_type==PAGE) {
|
if (http_get_type==PAGE) {
|
||||||
history.add(http.cur_url);
|
history.add(http.cur_url);
|
||||||
if (!strchr(http.cur_url, '?')) {
|
if (!strchr(http.cur_url, '?')) {
|
||||||
@ -250,6 +249,7 @@ void main()
|
|||||||
free(http.content_pointer);
|
free(http.content_pointer);
|
||||||
GetImg(false);
|
GetImg(false);
|
||||||
}
|
}
|
||||||
|
http.hfree();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -107,4 +107,4 @@ char editbox_icons[] = FROM "res/editbox_icons.raw";
|
|||||||
|
|
||||||
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
|
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
|
||||||
|
|
||||||
char version[]="WebView 3.31a";
|
char version[]="WebView 3.31b";
|
Loading…
Reference in New Issue
Block a user