[Spice-devel] [PATCH 1/3] Fix global resources cleanup
Yonit Halperin
yhalperi at redhat.com
Mon Jul 12 02:15:15 PDT 2010
---
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);
--
1.6.6.1
More information about the Spice-devel
mailing list