diff options
author | Valentin Bartenev <vbart@nginx.com> | 2019-11-14 17:48:48 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2019-11-14 17:48:48 +0300 |
commit | 75c2c23bb6cd95a9e08d89f74e6457321d266ed2 (patch) | |
tree | 0212dbdbb5ddce3497906aaf70f613595ce7ca5e /src/nxt_sockaddr.c | |
parent | c667bb446d866f1a1a786fa9a3b3ecd06d163cfb (diff) | |
download | unit-75c2c23bb6cd95a9e08d89f74e6457321d266ed2.tar.gz unit-75c2c23bb6cd95a9e08d89f74e6457321d266ed2.tar.bz2 |
Python: fixed an object leak when response close() is called.
On success, PyObject_CallMethod() returns a new reference to
the result of the call, which previously got lost.
Also, error logging on failure was added.
The issue was introduced by b0148ec28c4d.
Diffstat (limited to 'src/nxt_sockaddr.c')
0 files changed, 0 insertions, 0 deletions