File 0001-utils-Fix-double-free-in-error-path.patch of Package gnome-terminal
From 1a30fb1fdf502928e5f91996e627bc07649102c9 Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@gnome.org>
Date: Mon, 3 Mar 2014 03:07:16 +0100
Subject: [PATCH] utils: Fix double-free in error path
(cherry picked from commit d37f22f12f09ffc0253842d2d410d871e3af5d92)
---
src/terminal-util.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/terminal-util.c b/src/terminal-util.c
index b70a722..f42bfac 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -1068,7 +1068,6 @@ as_to_rgba_palette (GVariant *variant,
i = 0;
while (g_variant_iter_next (&iter, "&s", &str)) {
if (!gdk_rgba_parse (&colors[i++], str)) {
- g_free (colors);
return FALSE;
}
}
--
1.8.4