Klaus Demo ~jonashaag/bjoern / a0ffeca
e268cd follow-up: do not free request->client_addr on keep-alive. Closes #31, thanks to Angelo Gladding for the report! Jonas Haag 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3030 void Request_free(Request* request)
3131 {
3232 Request_clean(request);
33 Py_DECREF(request->client_addr);
3334 free(request);
3435 }
3536
4344 assert(request->status->ob_refcnt >= 1);
4445 Py_XDECREF(request->headers);
4546 Py_XDECREF(request->status);
46 Py_DECREF(request->client_addr);
4747 }
4848
4949 /* Parse stuff */