From 43512da5e50b3ae434f5df89ed91d53fd12867cb Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Mon, 12 Jul 2010 10:15:14 +0300 Subject: Fix global resources cleanup --- display/res.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/display/res.c b/display/res.c index 05bc9e6..c769aeb 100644 --- a/display/res.c +++ b/display/res.c @@ -322,7 +322,7 @@ void CleanGlobalRes() { UINT32 i; - if (!global_res) { + if (global_res) { for (i = 0; i < num_global_res; ++i) { if (global_res[i].dynamic) { EngFreeMem(global_res[i].dynamic); -- cgit v1.2.3