summaryrefslogtreecommitdiff
path: root/recipes/matchbox2/matchbox-panel-2/scaling-image-double-free.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/matchbox2/matchbox-panel-2/scaling-image-double-free.patch')
-rw-r--r--recipes/matchbox2/matchbox-panel-2/scaling-image-double-free.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/matchbox2/matchbox-panel-2/scaling-image-double-free.patch b/recipes/matchbox2/matchbox-panel-2/scaling-image-double-free.patch
new file mode 100644
index 0000000000..ab1fca10b9
--- /dev/null
+++ b/recipes/matchbox2/matchbox-panel-2/scaling-image-double-free.patch
@@ -0,0 +1,14 @@
+http://bugzilla.openedhand.com/show_bug.cgi?id=1794
+Index: matchbox-panel/mb-panel-scaling-image.c
+===================================================================
+--- matchbox-panel/mb-panel-scaling-image.c (revision 2098)
++++ matchbox-panel/mb-panel-scaling-image.c (working copy)
+@@ -284,7 +285,7 @@
+
+ if (image->priv->caching) {
+ g_hash_table_insert (image->priv->cache,
+- image->priv->icon,
++ g_strdup(image->priv->icon),
+ pixbuf);
+ } else
+ g_object_unref (pixbuf);