forked from KolibriOS/kolibrios
WebView: fix images
git-svn-id: svn://kolibrios.org@8594 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c39db73416
commit
031ccc8bf9
@ -238,6 +238,7 @@ void main()
|
|||||||
}
|
}
|
||||||
LoadInternalPage(http.content_pointer, http.content_received);
|
LoadInternalPage(http.content_pointer, http.content_received);
|
||||||
free(http.content_pointer);
|
free(http.content_pointer);
|
||||||
|
http.hfree();
|
||||||
}
|
}
|
||||||
else if (http_get_type==IMG) {
|
else if (http_get_type==IMG) {
|
||||||
_IMG_RES:
|
_IMG_RES:
|
||||||
@ -247,9 +248,9 @@ void main()
|
|||||||
cache.add(cur_img_url, 0, 0, IMG, NULL);
|
cache.add(cur_img_url, 0, 0, IMG, NULL);
|
||||||
}
|
}
|
||||||
free(http.content_pointer);
|
free(http.content_pointer);
|
||||||
|
http.hfree();
|
||||||
GetImg(false);
|
GetImg(false);
|
||||||
}
|
}
|
||||||
http.hfree();
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user