diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index 3f7ca007..583731a3 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -253,7 +253,6 @@ PyObject *uwsgi_pyimport_by_filename(char *name, char *filename) { if (!pyfile) { uwsgi_error_open(real_filename); free(real_filename); - fclose(pyfile); return NULL; } }