WebView: fixed memory leak in cache.add(), give system memory back each time parse ends

git-svn-id: svn://kolibrios.org@8425 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-12-16 16:30:39 +00:00
parent 7f757d3058
commit 6cb7bf1eb6
6 changed files with 19 additions and 17 deletions

View File

@@ -26,6 +26,9 @@ void _cache::add(dword _url, _data, _size, _type)
url.add(_url);
size.add(_size);
type.add(_type);
current_buf = data_pointer;
current_size = _size;
}
bool _cache::has(dword _link)