[ekiga] Added comments on some memory management in the opal directory



commit 385d972a7e6872b67c9857050fc1d14d1d3d3eac
Author: Julien Puydt <jpuydt free fr>
Date:   Tue Feb 5 20:43:28 2013 +0100

    Added comments on some memory management in the opal directory

 lib/engine/components/opal/h323-endpoint.h |    2 ++
 lib/engine/components/opal/sip-endpoint.h  |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.h b/lib/engine/components/opal/h323-endpoint.h
index fb91056..e2807a0 100644
--- a/lib/engine/components/opal/h323-endpoint.h
+++ b/lib/engine/components/opal/h323-endpoint.h
@@ -128,6 +128,8 @@ namespace Opal {
 				       Account::RegistrationState state,
 				       const std::string msg);
 
+      // this object is really managed by opal,
+      // so the way it is handled here is correct
       CallManager & manager;
 
       PMutex gk_name_mutex;
diff --git a/lib/engine/components/opal/sip-endpoint.h b/lib/engine/components/opal/sip-endpoint.h
index a3371e1..0a26c0f 100644
--- a/lib/engine/components/opal/sip-endpoint.h
+++ b/lib/engine/components/opal/sip-endpoint.h
@@ -186,6 +186,8 @@ namespace Opal {
       PMutex aorMutex;
       std::map<std::string, std::string> accounts;
 
+      // this object is really managed by opal,
+      // so the way it is handled here is correct
       CallManager & manager;
 
       std::map<std::string, PString> publications;



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