[pulseaudio-commits] r1323 - /trunk/src/modules/module-waveout.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue Aug 22 08:24:13 PDT 2006


Author: ossman
Date: Tue Aug 22 17:24:11 2006
New Revision: 1323

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1323&root=pulseaudio&view=rev
Log:
Fix memory leak in waveout module.

Modified:
    trunk/src/modules/module-waveout.c

Modified: trunk/src/modules/module-waveout.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-waveout.c?rev=1323&root=pulseaudio&r1=1322&r2=1323&view=diff
==============================================================================
--- trunk/src/modules/module-waveout.c (original)
+++ trunk/src/modules/module-waveout.c Tue Aug 22 17:24:11 2006
@@ -611,6 +611,9 @@
 
     if (!(u = m->userdata))
         return;
+
+    if (u->silence.memblock)
+        pa_memblock_unref(u->silence.memblock);
     
     if (u->event)
         c->mainloop->time_free(u->event);




More information about the pulseaudio-commits mailing list