module: Fix crash in pa_module_unload_all() 96/8496/2 accepted/tizen/20130912.154532 accepted/tizen/20130912.190419 accepted/tizen/20130912.194640 submit/tizen/20130912.080303 submit/tizen/20130912.090605
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 11 Jul 2013 10:35:24 +0000 (13:35 +0300)
committerMichael Ikey Doherty <michael.i.doherty@intel.com>
Wed, 21 Aug 2013 13:28:30 +0000 (14:28 +0100)
commit7c9f898c58c5a21730fe94b6505fbaf5f4df971c
tree9792295f3e704a56a53e649a34b6c272681b2f48
parent29fdcd74e4ac004f905f62b4b268b7feb3bd1770
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.

Bug-Tizen: TZPC-4359
src/pulsecore/module.c