diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-10 18:12:01 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-10 18:12:01 +0300 |
commit | a3c4f4cd01119166b01fa9bc00c1626bf9dc295a (patch) | |
tree | b58a3d21d98c42248e32ddec9a8c360b322a9b86 /Modules/_ssl.c | |
parent | 24a9a3f391aa72db053bcf01fc64048ece0aafcb (diff) | |
parent | 3099587c099191eccc737760a8d15c7fedcd8a40 (diff) | |
download | cpython-a3c4f4cd01119166b01fa9bc00c1626bf9dc295a.tar.gz |
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index e6e98cd33b..994198cae8 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -1589,7 +1589,7 @@ static int PySSL_set_context(PySSLSocket *self, PyObject *value, return -1; #else Py_INCREF(value); - Py_XSETREF(self->ctx, (PySSLContext *)value); + Py_SETREF(self->ctx, (PySSLContext *)value); SSL_set_SSL_CTX(self->ssl, self->ctx->ctx); #endif } else { |