projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b0b3d8
)
fix bad memory access
author
Lennart Poettering
<lennart@poettering.net>
Thu, 15 Jan 2009 17:27:43 +0000
(18:27 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 15 Jan 2009 17:27:43 +0000
(18:27 +0100)
src/pulsecore/client.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/client.c
b/src/pulsecore/client.c
index
31631e1
..
445e876
100644
(file)
--- a/
src/pulsecore/client.c
+++ b/
src/pulsecore/client.c
@@
-88,9
+88,10
@@
void pa_client_free(pa_client *c) {
pa_assert(c);
pa_assert(c->core);
+ core = c->core;
+
pa_hook_fire(&core->hooks[PA_CORE_HOOK_CLIENT_UNLINK], c);
- core = c->core;
pa_idxset_remove_by_data(c->core->clients, c, NULL);
pa_log_info("Freed %u \"%s\"", c->index, pa_strnull(pa_proplist_gets(c->proplist, PA_PROP_APPLICATION_NAME)));