[telepathy-mission-control/master] McdDispatcher: make more lock pairing more explicit
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu May 28 06:23:40 PDT 2009
---
src/mcd-dispatcher.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 258c09e..839f500 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1487,7 +1487,14 @@ on_operation_finished (McdDispatchOperation *operation,
channel, _mcd_dispatch_operation_get_claimer (operation));
}
+ /* released by mcd_dispatcher_context_handler_done */
+ mcd_dispatcher_context_ref (context, "CTXREF09");
+
mcd_dispatcher_context_handler_done (context);
+
+ /* this would have been released when all the locks were released, but
+ * we're never going to do that */
+ mcd_dispatcher_context_unref (context, "CTXREF13");
}
else
{
--
1.5.6.5
More information about the telepathy-commits
mailing list