diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-14 07:10:15 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-14 07:10:15 (GMT) |
commit | bec97699f21d4dadcdc1a9f26985c699a374655d (patch) | |
tree | 092d98dd7d9e1bc7bd3c884a91d69b3ba58aef1d /plugins | |
parent | f2f0fc476e032ada5460f251aace7878e1cd3934 (diff) |
Handle Python bad plugins without name.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/pychrysalide/plugins/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/pychrysalide/plugins/plugin.c b/plugins/pychrysalide/plugins/plugin.c index 2488d21..340c617 100644 --- a/plugins/pychrysalide/plugins/plugin.c +++ b/plugins/pychrysalide/plugins/plugin.c @@ -579,6 +579,8 @@ static char *py_plugin_module_get_modname_wrapper(const GPluginModule *plugin) " script filename." \ ) + result = NULL; + gstate = PyGILState_Ensure(); pyobj = pygobject_new(G_OBJECT(plugin)); |