[gnome-shell] [StTextureCache] Fix an accidentally swapped ref/unref



commit 46f8d913a1d9ae76b340b21d35aafb129541e7cb
Author: Florian Müllner <fmuellner src gnome org>
Date:   Thu Mar 11 21:40:42 2010 +0100

    [StTextureCache] Fix an accidentally swapped ref/unref

 src/st/st-texture-cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index b1e3723..ad62011 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -865,7 +865,7 @@ st_texture_cache_load (StTextureCache       *cache,
       else
         return COGL_INVALID_HANDLE;
     }
-  cogl_handle_unref (texture);
+  cogl_handle_ref (texture);
   return texture;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]