ekiga r6884 - in trunk: . lib/engine src/endpoints
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6884 - in trunk: . lib/engine src/endpoints
- Date: Mon, 8 Sep 2008 20:12:48 +0000 (UTC)
Author: dsandras
Date: Mon Sep 8 20:12:48 2008
New Revision: 6884
URL: http://svn.gnome.org/viewvc/ekiga?rev=6884&view=rev
Log:
Fixed crash on exit when being in a call due to a memory leak. The
OPAL component is now again a service to ensure autodeletion.
Fixes #551421.
Modified:
trunk/ChangeLog
trunk/lib/engine/engine.cpp
trunk/src/endpoints/manager.h
trunk/src/endpoints/opal-main.cpp
Modified: trunk/lib/engine/engine.cpp
==============================================================================
--- trunk/lib/engine/engine.cpp (original)
+++ trunk/lib/engine/engine.cpp Mon Sep 8 20:12:48 2008
@@ -127,13 +127,13 @@
core->add (*runtime);
core->add (*account_core);
core->add (*contact_core);
- core->add (*call_core);
core->add (*chat_core);
core->add (*videooutput_core);
core->add (*videoinput_core);
core->add (*audiooutput_core);
core->add (*audioinput_core);
core->add (*hal_core);
+ core->add (*call_core);
if (!gmconf_personal_details_init (*core, &argc, &argv)) {
delete core;
Modified: trunk/src/endpoints/manager.h
==============================================================================
--- trunk/src/endpoints/manager.h (original)
+++ trunk/src/endpoints/manager.h Mon Sep 8 20:12:48 2008
@@ -70,7 +70,7 @@
CallManager (Ekiga::ServiceCore & _core);
- ~CallManager ();
+ virtual ~CallManager ();
/**/
void start ();
Modified: trunk/src/endpoints/opal-main.cpp
==============================================================================
--- trunk/src/endpoints/opal-main.cpp (original)
+++ trunk/src/endpoints/opal-main.cpp Mon Sep 8 20:12:48 2008
@@ -155,5 +155,7 @@
else
return false;
+ core.add (*call_manager);
+
return result;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]