[vlc-commits] XCB/screen: memory leak

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


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

XCB/screen: memory leak

(cherry picked from commit b4581502f18d4b8476b2fea0f4da2e1a22b85e03)

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

 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 f4d9cc8..0e68bad 100644
--- a/modules/access/screen/xcb.c
+++ b/modules/access/screen/xcb.c
@@ -380,6 +380,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