[gtk+] Fix a memory leak in GtkCssStringValue
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a memory leak in GtkCssStringValue
- Date: Sat, 15 Sep 2012 20:16:39 +0000 (UTC)
commit 98ca019c7454a4211332577d6a106250b20484c1
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 13 21:29:15 2012 -0400
Fix a memory leak in GtkCssStringValue
gtk/gtkcssstringvalue.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssstringvalue.c b/gtk/gtkcssstringvalue.c
index 78273d3..9edda64 100644
--- a/gtk/gtkcssstringvalue.c
+++ b/gtk/gtkcssstringvalue.c
@@ -29,6 +29,7 @@ struct _GtkCssValue {
static void
gtk_css_value_string_free (GtkCssValue *value)
{
+ g_free (value->string);
g_slice_free (GtkCssValue, value);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]