[ekiga/v4_0] Replace a crash with a leak (of the Opal::Call objects)



commit 71db488c1440389cac145f328514354d56fc07e6
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Feb 19 07:08:27 2013 +0100

    Replace a crash with a leak (of the Opal::Call objects)

 lib/engine/components/opal/opal-call-manager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-call-manager.cpp 
b/lib/engine/components/opal/opal-call-manager.cpp
index 65dd6e6..05b1b39 100644
--- a/lib/engine/components/opal/opal-call-manager.cpp
+++ b/lib/engine/components/opal/opal-call-manager.cpp
@@ -711,7 +711,7 @@ CallManager::create_call_in_main (Opal::Call* call)
 {
   boost::shared_ptr<Ekiga::CallCore> call_core = core.get<Ekiga::CallCore> ("call-core");
 
-  call_core->add_call (boost::shared_ptr<Opal::Call>(call),
+  call_core->add_call (boost::shared_ptr<Opal::Call>(call, null_deleter()),
                       boost::dynamic_pointer_cast<CallManager>(shared_from_this ()));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]