From e3be74a31a19d2b756dcb0c7470b2645ca21fd90 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Mon, 1 Feb 2010 10:14:07 -0500 Subject: [PATCH] Fix invalid unreference of CoglTexture cogl_texture_get_data doesn't increase the refcount, so don't try to decrement it. Signed-off-by: Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=608512 --- src/shell-drawing.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shell-drawing.c b/src/shell-drawing.c index a4c893053..c62713f39 100644 --- a/src/shell-drawing.c +++ b/src/shell-drawing.c @@ -84,7 +84,6 @@ shell_fade_app_icon (ClutterTexture *source) cogl_texture_get_data (texture, COGL_PIXEL_FORMAT_RGBA_8888_PRE, rowstride, pixels); - cogl_texture_unref (texture); fade_start = width / 2; fade_range = width - fade_start;