[gnome-terminal] utils: Fix double-free in error path
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] utils: Fix double-free in error path
- Date: Mon, 3 Mar 2014 20:42:13 +0000 (UTC)
commit d37f22f12f09ffc0253842d2d410d871e3af5d92
Author: Christian Persch <chpe gnome org>
Date: Mon Mar 3 03:07:16 2014 +0100
utils: Fix double-free in error path
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 c964db6..4ddc8fe 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -782,7 +782,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]