[telepathy-mission-control/master] McdDispatchOperation: make it clearer that unique_name is not leaked

Simon McVittie simon.mcvittie at collabora.co.uk
Thu May 28 04:24:31 PDT 2009


---
 src/mcd-dispatch-operation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index faac484..e4a6738 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -74,7 +74,7 @@ G_DEFINE_TYPE_WITH_CODE (McdDispatchOperation, mcd_dispatch_operation,
 
 struct _McdDispatchOperationPrivate
 {
-    gchar *unique_name;
+    const gchar *unique_name;   /* borrowed from object_path */
     gchar *object_path;
     GStrv possible_handlers;
     GHashTable *properties;
-- 
1.5.6.5




More information about the telepathy-commits mailing list