diff options
author | Colin Guthrie <colin@mageia.org> | 2011-06-06 21:16:11 +0200 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-06-06 21:19:38 +0200 |
commit | 22c0dcbc080699fb50409ed188a6f8169331d294 (patch) | |
tree | 0f6c3bd22b0a797e1208cd5c65a8aeff014b2a70 | |
parent | b3e4152916962f9c750ac61c150b21fbdb788cb6 (diff) |
device-manager: Free a hook slot to prevent segv on unload
-rw-r--r-- | src/modules/module-device-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/module-device-manager.c b/src/modules/module-device-manager.c index d1bfcb89..610742f1 100644 --- a/src/modules/module-device-manager.c +++ b/src/modules/module-device-manager.c @@ -1576,6 +1576,9 @@ void pa__done(pa_module*m) { if (u->source_unlink_hook_slot) pa_hook_slot_free(u->source_unlink_hook_slot); + if (u->connection_unlink_hook_slot) + pa_hook_slot_free(u->connection_unlink_hook_slot); + if (u->save_time_event) u->core->mainloop->time_free(u->save_time_event); |