Commit 1c94770d authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI

Fix likely leak

parent fb4939e2
......@@ -95,6 +95,7 @@ void linphone_chat_room_destroy(LinphoneChatRoom *cr){
lc->chatrooms=ms_list_remove(lc->chatrooms,(void *) cr);
linphone_address_destroy(cr->peer_url);
ms_free(cr->peer);
ms_free(cr);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment