summaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c')
-rw-r--r--x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c b/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c
new file mode 100644
index 000000000..7813ce91f
--- /dev/null
+++ b/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c
@@ -0,0 +1,14 @@
+--- gtk-themes/Crux/src/crux-pixmaps.c.orig Thu Oct 16 21:01:59 2003
++++ gtk-themes/Crux/src/crux-pixmaps.c Thu Oct 16 21:02:17 2003
+@@ -340,9 +340,10 @@
+ {
+ GdkPixbuf *pixbuf;
+ size_t len = strlen (*path) + strlen (file) + 2;
+- char *buf = alloca (len);
++ char *buf = g_malloc (len);
+ sprintf (buf, "%s/%s", *path, file);
+ pixbuf = gdk_pixbuf_new_from_file (buf, NULL);
++ g_free (buf);
+ if (pixbuf != 0)
+ return pixbuf;
+ path++;