Skip to content

Commit

Permalink
fixed gevent leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Jan 12, 2013
1 parent 048b339 commit f81a4f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/gevent/gevent.c
Expand Up @@ -265,6 +265,11 @@ ssize_t uwsgi_gevent_hook_input_read(struct wsgi_request *wsgi_req, char *tmp_bu
stop_the_watchers
}

Py_DECREF(current);
Py_DECREF(current_greenlet);
Py_DECREF(watcher);
Py_DECREF(timer);

return *tmp_pos;

}
Expand Down

0 comments on commit f81a4f9

Please sign in to comment.