[pygobject] 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] pygi-info: initialize GIArgument before passing it to g_constant_info_get_value
- Date: Mon, 20 Mar 2017 17:17:09 +0000 (UTC)
commit 399939b55860211e0ab64bdfbfada2c86be8bf64
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 f2f7dce..1b33e9a 100644
--- a/gi/pygi-info.c
+++ b/gi/pygi-info.c
@@ -1716,7 +1716,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]