mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
fixed up mismatched free/delete
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
383a035bdb
commit
3b88acb45d
@ -159,7 +159,7 @@ HashCache::HashCache(const std::string& path)
|
|||||||
std::string s((char *)decrypted_data,decrypted_data_size) ;
|
std::string s((char *)decrypted_data,decrypted_data_size) ;
|
||||||
f = new std::istringstream(s) ;
|
f = new std::istringstream(s) ;
|
||||||
|
|
||||||
delete[] decrypted_data ;
|
delete[] (unsigned char *)decrypted_data ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user