mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix(FileTransferChatMessageModifier): use delete instead of free on content
This commit is contained in:
parent
f369a7c87d
commit
594d71d78f
1 changed files with 1 additions and 1 deletions
|
|
@ -772,7 +772,7 @@ void FileTransferChatMessageModifier::onRecvEnd (belle_sip_user_body_handler_t *
|
|||
FileTransferContent *fileTransferContent = (FileTransferContent*)content;
|
||||
if (fileTransferContent->getFileContent() == fileContent) {
|
||||
chatMessage->removeContent(*content);
|
||||
free(fileTransferContent);
|
||||
delete fileTransferContent;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue