call PyErr_Clear() in python_callable().

This commit is contained in:
Joris Vink 2019-10-15 16:03:39 +02:00
parent a1c1245ef7
commit bdc75556fe
1 changed files with 1 additions and 0 deletions

View File

@ -2314,6 +2314,7 @@ out:
if (obj != NULL)
Py_DECREF(obj);
PyErr_Clear();
kore_free(base);
return (res);