##// END OF EJS Templates
parsers: add a missed PyErr_NoMemory
Bryan O'Sullivan -
r27366:7e8a883d default
parent child Browse files
Show More
@@ -1411,8 +1411,10 b' static PyObject *index_headrevs(indexObj'
1411 1411 }
1412 1412
1413 1413 nothead = calloc(len, 1);
1414 if (nothead == NULL)
1414 if (nothead == NULL) {
1415 PyErr_NoMemory();
1415 1416 goto bail;
1417 }
1416 1418
1417 1419 for (i = 0; i < len; i++) {
1418 1420 int isfiltered;
General Comments 0
You need to be logged in to leave comments. Login now