Better on #1120 et al. -- raise on exception cleanly.

This commit is contained in:
Marshall T. Vandegrift 2008-11-18 00:09:39 -05:00
parent e349723e68
commit aeb88b747d

View File

@ -187,6 +187,7 @@ decompress(PyObject *self, PyObject *args)
if (err != MSPACK_ERR_OK) {
Py_DECREF(retval);
retval = NULL;
PyErr_SetString(LzxError, "LZX decompression failed");
}