diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-03 16:21:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-03 16:31:49 +0200 |
commit | 084f4292f6d1f36ae175b9fd1de070dc942ff29e (patch) | |
tree | 5c1fc12870db2a428e56836bbf4abe587038bcf3 /src/pulsecore/hook-list.c | |
parent | 34c435480fc2c6110994efac5ab85e27bcd653d9 (diff) |
rename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the stack not via malloc
Diffstat (limited to 'src/pulsecore/hook-list.c')
-rw-r--r-- | src/pulsecore/hook-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/hook-list.c b/src/pulsecore/hook-list.c index 0aac47591..396940382 100644 --- a/src/pulsecore/hook-list.c +++ b/src/pulsecore/hook-list.c @@ -44,7 +44,7 @@ static void slot_free(pa_hook *hook, pa_hook_slot *slot) { pa_xfree(slot); } -void pa_hook_free(pa_hook *hook) { +void pa_hook_done(pa_hook *hook) { pa_assert(hook); pa_assert(hook->n_firing == 0); |