kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit f2e17c13840db1c9384d58a9f9788033129197b1
parent 5055f3c8725baa4b2e0dc522259c5673d27ad92a
Author: Joris Vink <joris@coders.se>
Date:   Tue, 16 Jul 2019 21:31:19 +0200

return NULL if PyUnicode_FromString fails.

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

diff --git a/src/python.c b/src/python.c @@ -3537,7 +3537,7 @@ pyhttp_cookie(struct pyhttp_request *pyreq, PyObject *args) } if ((value = PyUnicode_FromString(string)) == NULL) - return (PyErr_NoMemory()); + return (NULL); return (value); }