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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user