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:
Lennart Poettering 2008-08-03 16:21:08 +02:00
parent 34c435480f
commit 084f4292f6
4 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ struct pa_hook {
};
void pa_hook_init(pa_hook *hook, void *data);
void pa_hook_free(pa_hook *hook);
void pa_hook_done(pa_hook *hook);
pa_hook_slot* pa_hook_connect(pa_hook *hook, pa_hook_priority_t prio, pa_hook_cb_t cb, void *data);
void pa_hook_slot_free(pa_hook_slot *slot);