Commit 8363f777 authored by Benjamin Peterson's avatar Benjamin Peterson

fix error check

parent e0ed2d75
......@@ -468,7 +468,7 @@ analyze_cells(PyObject *scope, PyObject *free)
*/
if (PyDict_SetItem(scope, name, w) < 0)
goto error;
if (!PyDict_DelItem(free, name) < 0)
if (PyDict_DelItem(free, name) < 0)
goto error;
}
success = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment