[vlc-commits] XCB/screen: memory leak

Rémi Denis-Courmont git at videolan.org
Thu May 26 22:19:02 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 26 23:03:01 2011 +0300| [b4581502f18d4b8476b2fea0f4da2e1a22b85e03] | committer: Rémi Denis-Courmont

XCB/screen: memory leak

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

 modules/access/screen/xcb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/access/screen/xcb.c b/modules/access/screen/xcb.c
index 53280a8..1c95832 100644
--- a/modules/access/screen/xcb.c
+++ b/modules/access/screen/xcb.c
@@ -361,6 +361,7 @@ static void Demux (void *data)
                 y += oh - h;
             else if (ptr->root_y > min_y)
                 y += ptr->root_y - min_y;
+            free (ptr);
         }
     }
 



More information about the vlc-commits mailing list