[gjs] dbus-values: Fix mem leak
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] dbus-values: Fix mem leak
- Date: Fri, 30 Nov 2012 13:07:21 +0000 (UTC)
commit c17d2b5dce4ded32f2c7fb445097b0c129c3d461
Author: Pavel Vasin <rat4vier gmail com>
Date: Wed Nov 28 23:01:19 2012 +0400
dbus-values: Fix mem leak
https://bugzilla.gnome.org/show_bug.cgi?id=689284
modules/dbus-values.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/modules/dbus-values.c b/modules/dbus-values.c
index fe9c1c0..a5b7c47 100644
--- a/modules/dbus-values.c
+++ b/modules/dbus-values.c
@@ -834,6 +834,7 @@ append_dict(JSContext *context,
if (strcmp(name, "_dbus_signatures") == 0) {
/* skip the magic "_dbus_signatures" field */
+ g_free(name);
goto next;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]