summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXabier Rodriguez Calvar <xrcalvar@igalia.com>2009-06-30 18:22:44 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-20 02:31:02 +0200
commit65f86ef7d43983cdcea3211705866384404b20cc (patch)
treeb9ee22886a42c4e247a2e1c2dec7706978a756ea /src
parent30ba9030efea782779cac6f107b8917572150d16 (diff)
Modification of the mainloop doc to ensure that nobody frees the api as it is owned by the loop.
Diffstat (limited to 'src')
-rw-r--r--src/pulse/mainloop.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulse/mainloop.h b/src/pulse/mainloop.h
index 4a83ebe8..63abd588 100644
--- a/src/pulse/mainloop.h
+++ b/src/pulse/mainloop.h
@@ -108,7 +108,9 @@ int pa_mainloop_iterate(pa_mainloop *m, int block, int *retval);
/** Run unlimited iterations of the main loop object until the main loop's quit() routine is called. */
int pa_mainloop_run(pa_mainloop *m, int *retval);
-/** Return the abstract main loop abstraction layer vtable for this main loop. */
+/** Return the abstract main loop abstraction layer vtable for this
+ main loop. No need of freeing the API as it is owned by the loop
+ and it is destroyed when this dies */
pa_mainloop_api* pa_mainloop_get_api(pa_mainloop*m);
/** Shutdown the main loop */