kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit bdc75556feca70faeef99af5e7f9867fa5d54858
parent a1c1245ef75f79fd5c4bbec96eb466f3e18041dd
Author: Joris Vink <joris@coders.se>
Date:   Tue, 15 Oct 2019 16:03:39 +0200

call PyErr_Clear() in python_callable().

Diffstat:
src/python.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/python.c b/src/python.c @@ -2314,6 +2314,7 @@ out: if (obj != NULL) Py_DECREF(obj); + PyErr_Clear(); kore_free(base); return (res);