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



commit edfea8576554f561a0d37b251ec3fe9c05715bf3
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 835d7fd..bd3ab3e 100644
--- a/lib/engine/components/opal/h323-endpoint.h
+++ b/lib/engine/components/opal/h323-endpoint.h
@@ -138,6 +138,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;
       Ekiga::ServiceCore & core;
 
diff --git a/lib/engine/components/opal/sip-endpoint.h b/lib/engine/components/opal/sip-endpoint.h
index e133e16..4d7570c 100644
--- a/lib/engine/components/opal/sip-endpoint.h
+++ b/lib/engine/components/opal/sip-endpoint.h
@@ -196,6 +196,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;
       Ekiga::ServiceCore & core;
 


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