summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-25 00:02:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-25 00:02:54 (GMT)
commit9056db24ccdf0d59f8c1978f81346203f1bbc20e (patch)
tree27e6bde4627037baa3cfee68831ac8c38e85eae1 /plugins/pychrysalide
parentd8eb070be32504949ad55fd644d9f1a69df1e05d (diff)
Fixed an uninitialized variable usage.
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r--plugins/pychrysalide/format/known.c2
1 files changed, 2 insertions, 0 deletions
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));