]> code.delx.au - pulseaudio/commit
module: Fix crash in pa_module_unload_all()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 11 Jul 2013 10:35:24 +0000 (13:35 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 11 Jul 2013 10:35:24 +0000 (13:35 +0300)
commitada83601f04f73177ea5f8bda01f02a38ba55409
tree3dc1b165fb39b4b6c924030303927c2b3cae8aca
parent1ce71cbd8206d1be59ac62274ad83cdbe693a96a
module: Fix crash in pa_module_unload_all()

Previously, if there were no modules loaded when the daemon exited,
pa_module_unload_all() would crash due to giving zero count to
pa_xnew().

Thanks to Pierre Ossman for the patch.
src/pulsecore/module.c