[pygobject] Plug tiny leak in constant_info_get_value
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Plug tiny leak in constant_info_get_value
- Date: Sun, 22 Apr 2012 14:44:42 +0000 (UTC)
commit ddb0bf01e694585d58af52673a21796e7c9578ea
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Apr 21 12:02:54 2012 +0200
Plug tiny leak in constant_info_get_value
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
gi/pygi-info.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gi/pygi-info.c b/gi/pygi-info.c
index d3adacc..d850052 100644
--- a/gi/pygi-info.c
+++ b/gi/pygi-info.c
@@ -1114,6 +1114,7 @@ _wrap_g_constant_info_get_value (PyGIBaseInfo *self)
py_value = _pygi_argument_to_object (&value, type_info, GI_TRANSFER_NOTHING);
+ g_constant_info_free_value (self->info, &value);
g_base_info_unref ( (GIBaseInfo *) type_info);
return py_value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]