Show More
@@ -98,6 +98,7 b' static inline PyObject *_asciilower(PyOb' | |||
|
98 | 98 | char *str, *newstr; |
|
99 | 99 | Py_ssize_t i, len; |
|
100 | 100 | PyObject *newobj = NULL; |
|
101 | PyObject *ret = NULL; | |
|
101 | 102 | |
|
102 | 103 | str = PyBytes_AS_STRING(str_obj); |
|
103 | 104 | len = PyBytes_GET_SIZE(str_obj); |
@@ -121,10 +122,11 b' static inline PyObject *_asciilower(PyOb' | |||
|
121 | 122 | newstr[i] = lowertable[(unsigned char)c]; |
|
122 | 123 | } |
|
123 | 124 | |
|
124 |
ret |
|
|
125 | ret = newobj; | |
|
126 | Py_INCREF(ret); | |
|
125 | 127 | quit: |
|
126 | 128 | Py_XDECREF(newobj); |
|
127 |
return |
|
|
129 | return ret; | |
|
128 | 130 | } |
|
129 | 131 | |
|
130 | 132 | static PyObject *asciilower(PyObject *self, PyObject *args) |
General Comments 0
You need to be logged in to leave comments.
Login now