From 084f4292f6d1f36ae175b9fd1de070dc942ff29e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 3 Aug 2008 16:21:08 +0200 Subject: rename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the stack not via malloc --- src/pulsecore/hook-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/hook-list.c') diff --git a/src/pulsecore/hook-list.c b/src/pulsecore/hook-list.c index 0aac4759..39694038 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); -- cgit