dbus: Don't crash if the module does not load
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 22 Sep 2011 11:57:56 +0000 (13:57 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 22 Sep 2011 17:45:18 +0000 (23:15 +0530)
commit165bd13d9e596b98ebc9cd8f9927d606934ff709
treea0712d79d50e57b15ac0d0262f53a098686d09df
parentcae3235369f923dcf1e1ee402a4b3d6aafe9c27b
dbus: Don't crash if the module does not load

If module-dbus-protocol fails to start, pa__done is still called,
which falsified the assumption that u->connections was always set.

BugLink: http://bugs.launchpad.net/bugs/855729
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/dbus/module-dbus-protocol.c