[vlc-commits] xcb/screen: memory leak

Rémi Denis-Courmont git at videolan.org
Tue Apr 22 22:54:16 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr 22 23:54:04 2014 +0300| [a7d5530e0d0d7501fffd23851d455d1b047593df] | committer: Rémi Denis-Courmont

xcb/screen: memory leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a7d5530e0d0d7501fffd23851d455d1b047593df
---

 modules/access/screen/xcb.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/screen/xcb.c b/modules/access/screen/xcb.c
index e17fddf..3803ebe 100644
--- a/modules/access/screen/xcb.c
+++ b/modules/access/screen/xcb.c
@@ -505,6 +505,8 @@ noshm:
         es_out_Control (demux->out, ES_OUT_SET_PCR, block->i_pts);
         es_out_Send (demux->out, sys->es, block);
     }
+    else
+        block_Release (block);
 }
 
 static es_out_id_t *InitES (demux_t *demux, uint_fast16_t width,



More information about the vlc-commits mailing list