Modification of the mainloop doc to ensure that nobody frees the api as it is owned...
authorXabier Rodriguez Calvar <xrcalvar@igalia.com>
Tue, 30 Jun 2009 16:22:44 +0000 (18:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 20 Aug 2009 00:31:02 +0000 (02:31 +0200)
src/pulse/mainloop.h

index 4a83ebe..63abd58 100644 (file)
@@ -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 */