##// END OF EJS Templates
parsers: fix leak of err when asciilower hits a unicode decode error...
Augie Fackler -
r23942:fefa5f2a stable
parent child Browse files
Show More
@@ -115,6 +115,7 b' static PyObject *asciilower(PyObject *se'
115 115 "ascii", str, len, i, (i + 1),
116 116 "unexpected code byte");
117 117 PyErr_SetObject(PyExc_UnicodeDecodeError, err);
118 Py_XDECREF(err);
118 119 goto quit;
119 120 }
120 121 newstr[i] = lowertable[(unsigned char)c];
General Comments 0
You need to be logged in to leave comments. Login now