mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-29 11:08:35 -05:00
rename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the stack not via malloc
This commit is contained in:
parent
34c435480f
commit
084f4292f6
4 changed files with 4 additions and 4 deletions
|
|
@ -192,7 +192,7 @@ static void core_free(pa_object *o) {
|
|||
pa_shared_cleanup(c);
|
||||
|
||||
for (j = 0; j < PA_CORE_HOOK_MAX; j++)
|
||||
pa_hook_free(&c->hooks[j]);
|
||||
pa_hook_done(&c->hooks[j]);
|
||||
|
||||
pa_xfree(c);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue