diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-07-12 10:15:14 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2010-07-12 10:15:50 +0300 |
commit | 43512da5e50b3ae434f5df89ed91d53fd12867cb (patch) | |
tree | 3d5ea6f44e0745b60b01cd7183b7edbb0e4db935 | |
parent | 9e2cc4ccf89ef57ebab4a2150853736bfeeb8e17 (diff) |
Fix global resources cleanup
-rw-r--r-- | display/res.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |