# HG changeset patch # User ib # Date 1299160728 0 # Node ID 0ef78cd3063bfa2d000878343e90f15abc0888c9 # Parent edb972e220218fb5a43156ee2d4e14ec22621667 Fix memory leak in appInitStruct(). appMPlayer.bar wasn't freed. diff -r edb972e22021 -r 0ef78cd3063b gui/app.c --- 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);