mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
fixed two memory bugs in serialization code
This commit is contained in:
parent
31c07f4dfd
commit
91b04098b6
2 changed files with 5 additions and 6 deletions
|
@ -75,7 +75,7 @@ RsChatAvatarItem::~RsChatAvatarItem()
|
|||
{
|
||||
if(image_data != NULL)
|
||||
{
|
||||
delete[] image_data ;
|
||||
free(image_data) ;
|
||||
image_data = NULL ;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue