mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 22:52:54 -04:00
fixed mismatched free/delete[]
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
eed4dc54ab
commit
228ea43455
1 changed files with 1 additions and 1 deletions
|
@ -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) ;
|
||||||
|
|
||||||
free(decrypted_data) ;
|
delete[] decrypted_data ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue