This commit is contained in:
Kovid Goyal 2014-05-22 16:18:32 +05:30
parent 04b45413c6
commit a09869e9d8

View File

@ -372,6 +372,7 @@ tokenize_flat(PyObject *self, PyObject *args) {
Py_DECREF(item); item = NULL; Py_DECREF(item); item = NULL;
if (token == NULL) goto error; if (token == NULL) goto error;
if (PyList_Append(tokens, token) != 0) { Py_DECREF(token); token = NULL; goto error; } if (PyList_Append(tokens, token) != 0) { Py_DECREF(token); token = NULL; goto error; }
Py_DECREF(token);
} // if(!(ignore_comments... } // if(!(ignore_comments...