summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/hook-list.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-03 16:21:08 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-03 16:31:49 +0200
commit084f4292f6d1f36ae175b9fd1de070dc942ff29e (patch)
tree5c1fc12870db2a428e56836bbf4abe587038bcf3 /src/pulsecore/hook-list.c
parent34c435480fc2c6110994efac5ab85e27bcd653d9 (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.c2
1 files changed, 1 insertions, 1 deletions
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);