diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-10 18:05:12 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-10 18:05:12 +0300 |
commit | 763a61ca954a1c5a1b56411dd5e57a7d58afff75 (patch) | |
tree | 36c3a606196c2a37e8865b5fbf78531e21a032ea /Modules/_ssl.c | |
parent | 149d080871f9bef276a3d4fa251ba6fbc910f770 (diff) | |
download | cpython-git-763a61ca954a1c5a1b56411dd5e57a7d58afff75.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 a44414b188..23d4d5ceab 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -1467,7 +1467,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 { |