Fix memory leak in URLs list. Bugreport from Ivan Novikov,2:5080/31

This commit is contained in:
Stas Degteff 2010-03-26 22:44:36 +00:00
parent 5cde6a3023
commit 9f7400b7aa

View File

@ -850,6 +850,11 @@ void ReadPeekURLs(GMsg* msg)
waitkeyt(10000);
w_info(NULL);
}
while( !urls.empty() )
{
throw_free(urls.back());
urls.pop_back();
}
}