[gnome-terminal/gnome-3-10] utils: Fix double-free in error path
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-10] utils: Fix double-free in error path
- Date: Mon, 3 Mar 2014 20:43:00 +0000 (UTC)
commit 1a30fb1fdf502928e5f91996e627bc07649102c9
Author: Christian Persch <chpe gnome org>
Date: Mon Mar 3 03:07:16 2014 +0100
utils: Fix double-free in error path
(cherry picked from commit d37f22f12f09ffc0253842d2d410d871e3af5d92)
src/terminal-util.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]