changeset 32928:0ef78cd3063b

Fix memory leak in appInitStruct(). appMPlayer.bar wasn't freed.
author ib
date Thu, 03 Mar 2011 13:58:48 +0000
parents edb972e22021
children 6ea9e024f05e
files gui/app.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/app.c	Thu Mar 03 13:45:30 2011 +0000
+++ b/gui/app.c	Thu Mar 03 13:58:48 2011 +0000
@@ -140,6 +140,7 @@
     appMPlayer.sub.width  = 0;
     appMPlayer.sub.height = 0;
 
+    appClearItem(&appMPlayer.bar);
     appClearItem(&appMPlayer.menuBase);
     appClearItem(&appMPlayer.menuSelected);