[clutter] script: Plug a leak
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] script: Plug a leak
- Date: Mon, 13 Jun 2011 12:48:06 +0000 (UTC)
commit 8625f07c3bd3fb1dc50e3c1584b44d6d28b502bd
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Jun 13 13:08:26 2011 +0100
script: Plug a leak
The SignalInfo structure gained a couple of string fields that should be
deallocated when destroying the structure.
clutter/clutter-script.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-script.c b/clutter/clutter-script.c
index 0104495..c9b1a9f 100644
--- a/clutter/clutter-script.c
+++ b/clutter/clutter-script.c
@@ -326,6 +326,8 @@ signal_info_free (gpointer data)
g_free (sinfo->name);
g_free (sinfo->handler);
g_free (sinfo->object);
+ g_free (sinfo->state);
+ g_free (sinfo->target);
g_slice_free (SignalInfo, sinfo);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]