projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eff5bec
)
device-manager: Free a hook slot to prevent segv on unload
author
Colin Guthrie
<colin@mageia.org>
Mon, 6 Jun 2011 19:16:11 +0000
(21:16 +0200)
committer
Colin Guthrie
<colin@mageia.org>
Mon, 6 Jun 2011 19:16:28 +0000
(21:16 +0200)
src/modules/module-device-manager.c
patch
|
blob
|
history
diff --git
a/src/modules/module-device-manager.c
b/src/modules/module-device-manager.c
index
c28affd
..
4138794
100644
(file)
--- a/
src/modules/module-device-manager.c
+++ b/
src/modules/module-device-manager.c
@@
-1574,6
+1574,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);