From 9056db24ccdf0d59f8c1978f81346203f1bbc20e Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Mon, 25 May 2020 02:02:54 +0200 Subject: Fixed an uninitialized variable usage. --- plugins/pychrysalide/format/known.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/pychrysalide/format/known.c b/plugins/pychrysalide/format/known.c index d75dd05..ff4ca0a 100644 --- a/plugins/pychrysalide/format/known.c +++ b/plugins/pychrysalide/format/known.c @@ -317,6 +317,8 @@ static char *py_known_format_get_description_wrapper(const GKnownFormat *format) "The result is expected to be a string." \ ) + result = NULL; + gstate = PyGILState_Ensure(); pyobj = pygobject_new(G_OBJECT(format)); -- cgit v0.11.2-87-g4458