WebView: fixed critical memory leak

git-svn-id: svn://kolibrios.org@8339 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-12-08 11:26:22 +00:00
parent 4c90768ccb
commit f7bbca99e7
6 changed files with 20 additions and 36 deletions

View File

@@ -43,6 +43,8 @@ bool _cache::has(dword _link)
void _cache::clear()
{
int i;
for (i=0; i<data.count; i++) free(data.get(i));
url.drop();
data.drop();
size.drop();