diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_hashopenssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c index aa9dd4e..7f016d4 100644 --- a/Modules/_hashopenssl.c +++ b/Modules/_hashopenssl.c @@ -477,6 +477,7 @@ EVP_new(PyObject *self, PyObject *args, PyObject *kwdict) } if (!PyArg_Parse(name_obj, "s", &name)) { + PyBuffer_Release(&view); PyErr_SetString(PyExc_TypeError, "name must be a string"); return NULL; } |