diff options
-rw-r--r-- | plugins/pychrysalide/plugins/plugin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/pychrysalide/plugins/plugin.c b/plugins/pychrysalide/plugins/plugin.c index 340c617..b013345 100644 --- a/plugins/pychrysalide/plugins/plugin.c +++ b/plugins/pychrysalide/plugins/plugin.c @@ -1796,8 +1796,6 @@ GPluginModule *create_python_plugin(const char *modname, const char *filename) if (class == NULL) goto no_class; if (!PyType_Check(class->ob_type)) goto no_class; - Py_INCREF(class); - instance = PyObject_CallFunction(class, NULL); if (instance == NULL) goto no_instance; |