From dc05b6821fe936d0ae88d8ee808dece97156ee5b Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Fri, 16 Mar 2018 11:32:16 +0100 Subject: [PATCH] avoir memory leak --- src/conference/handlers/remote-conference-list-event-handler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conference/handlers/remote-conference-list-event-handler.cpp b/src/conference/handlers/remote-conference-list-event-handler.cpp index 9293128b1..3c503bb3a 100644 --- a/src/conference/handlers/remote-conference-list-event-handler.cpp +++ b/src/conference/handlers/remote-conference-list-event-handler.cpp @@ -105,6 +105,7 @@ void RemoteConferenceListEventHandler::unsubscribe () { return; linphone_event_terminate(lev); + linphone_event_unref(lev); lev = nullptr; }