]> git.0d.be Git - empathy.git/commit
Cancel outstanding channel requests if connection to the CM is lost.
authorMike Ruprecht <mike.ruprecht@collabora.co.uk>
Tue, 13 Oct 2009 23:40:52 +0000 (18:40 -0500)
committerMike Ruprecht <mike.ruprecht@collabora.co.uk>
Wed, 14 Oct 2009 00:34:05 +0000 (19:34 -0500)
commit1e0632dcffc06127e9919fcd4dfa3571108ff0de
tree262f388042b85f92b5e55ba63e561df90cbd63d5
parent03f2b62039ae8df84b138185a32bfdf0cc857581
Cancel outstanding channel requests if connection to the CM is lost.

When the connection to a given channel manager was lost (such as it crashed),
any outstanding channel requests were freed, but then the request callback
fired with an invalid (already freed) DispatcherRequestData parameter. It
subsequently used this invalid data and crashed.

This patch cancels all outstanding channel requests when they are freed so the
callback isn't called with invalid data. Fixes #598332
libempathy/empathy-dispatcher.c