[pygobject/pygobject-3-24] pygi-info: initialize GIArgument before passing it to g_constant_info_get_value
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/pygobject-3-24] pygi-info: initialize GIArgument before passing it to g_constant_info_get_value
- Date: Thu, 23 Mar 2017 15:01:20 +0000 (UTC)
commit 48fb00980464c95f69579688c5390cf0560c4f04
Author: Christoph Reiter <creiter src gnome org>
Date: Mon Mar 20 18:11:21 2017 +0100
pygi-info: initialize GIArgument before passing it to g_constant_info_get_value
Co-Authored-By: Mikhail Fludkov <misha pexip com>
https://bugzilla.gnome.org/show_bug.cgi?id=772949
gi/pygi-info.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygi-info.c b/gi/pygi-info.c
index 09c513b..9a1b025 100644
--- a/gi/pygi-info.c
+++ b/gi/pygi-info.c
@@ -1709,7 +1709,7 @@ static PyObject *
_wrap_g_constant_info_get_value (PyGIBaseInfo *self)
{
GITypeInfo *type_info;
- GIArgument value;
+ GIArgument value = {0};
PyObject *py_value;
gboolean free_array = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]