From: Yonit Halperin <[email protected]>

---
 display/res.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/display/res.c b/display/res.c
index e821709..ba69dee 100644
--- a/display/res.c
+++ b/display/res.c
@@ -2887,7 +2887,7 @@ static void CursorCacheRemove(PDev *pdev, InternalCursor 
*cursor)
                 RingRemove(pdev, &cursor->lru_link);
                 RELEASE_RES(pdev, (Resource *)((UINT8 *)cursor - 
sizeof(Resource)));
                 pdev->Res->num_cursors--;
-                break;
+                return;
             }
             DEBUG_PRINT((pdev, 0, "%s: unexpected\n", __FUNCTION__));
         }
-- 
1.7.5.2

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to