##// END OF EJS Templates
parsers: correctly decref normed value after PyDict_SetItem...
Augie Fackler -
r26049:b1634b78 default
parent child Browse files
Show More
@@ -253,9 +253,12 b' static PyObject *make_file_foldmap(PyObj'
253
253
254 if (normed == NULL)
254 if (normed == NULL)
255 goto quit;
255 goto quit;
256 if (PyDict_SetItem(file_foldmap, normed, k) == -1)
256 if (PyDict_SetItem(file_foldmap, normed, k) == -1) {
257 Py_DECREF(normed);
257 goto quit;
258 goto quit;
258 }
259 }
260 Py_DECREF(normed);
261 }
259 }
262 }
260 return file_foldmap;
263 return file_foldmap;
261 quit:
264 quit:
General Comments 0
You need to be logged in to leave comments. Login now