Show More
@@ -443,7 +443,7 b' static PyObject *fixws(PyObject *self, P' | |||||
443 | r = PyBytes_AsString(s); |
|
443 | r = PyBytes_AsString(s); | |
444 | rlen = PyBytes_Size(s); |
|
444 | rlen = PyBytes_Size(s); | |
445 |
|
445 | |||
446 | w = (char *)malloc(rlen); |
|
446 | w = (char *)malloc(rlen ? rlen : 1); | |
447 | if (!w) |
|
447 | if (!w) | |
448 | goto nomem; |
|
448 | goto nomem; | |
449 |
|
449 |
General Comments 0
You need to be logged in to leave comments.
Login now