[telepathy-mission-control/master] _mcd_dispatcher_reinvoke_handler: don't leak temporaries if selected handler doesn't exist any more

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Oct 20 09:36:24 PDT 2009


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

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 3783231..9a39542 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -2624,7 +2624,7 @@ _mcd_dispatcher_reinvoke_handler (McdDispatcher *dispatcher,
         DEBUG ("Handler %s does not exist in client registry, not "
                "reinvoking", possible_handlers[0]);
         mcd_dispatcher_finish_reinvocation (request);
-        return;
+        goto finally;
     }
 
     /* This is deliberately not the same call as for normal dispatching,
-- 
1.5.6.5




More information about the telepathy-commits mailing list