From edb0a72dfdcd63b417494c7ffeb8209bbb1962f3 Mon Sep 17 00:00:00 2001 From: Unbit Date: Sat, 23 Feb 2013 08:26:08 +0100 Subject: [PATCH] fixed a refcnt bug in psgi plugin --- plugins/psgi/psgi_response.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/psgi/psgi_response.c b/plugins/psgi/psgi_response.c index 5377475b..ff2f1e22 100644 --- a/plugins/psgi/psgi_response.c +++ b/plugins/psgi/psgi_response.c @@ -46,7 +46,6 @@ int psgi_response(struct wsgi_request *wsgi_req, AV *response) { if (SvTRUE(*harakiri)) wsgi_req->async_plagued = 1; } - SvREFCNT_dec(wsgi_req->async_environ); SvREFCNT_dec(wsgi_req->async_result); return UWSGI_OK;