Show More
@@ -1151,13 +1151,13 b' static PyObject *reachableroots(indexObj' | |||||
1151 | /* Initialize internal datastructures */ |
|
1151 | /* Initialize internal datastructures */ | |
1152 | tovisit = (int *)malloc((len + 1) * sizeof(int)); |
|
1152 | tovisit = (int *)malloc((len + 1) * sizeof(int)); | |
1153 | if (tovisit == NULL) { |
|
1153 | if (tovisit == NULL) { | |
1154 |
PyErr_ |
|
1154 | PyErr_NoMemory(); | |
1155 | goto release_reachable; |
|
1155 | goto release_reachable; | |
1156 | } |
|
1156 | } | |
1157 |
|
1157 | |||
1158 | seen = (char *)calloc(len+1, 1); |
|
1158 | seen = (char *)calloc(len+1, 1); | |
1159 | if (seen == NULL) { |
|
1159 | if (seen == NULL) { | |
1160 |
PyErr_ |
|
1160 | PyErr_NoMemory(); | |
1161 | goto release_seen_and_tovisit; |
|
1161 | goto release_seen_and_tovisit; | |
1162 | } |
|
1162 | } | |
1163 |
|
1163 |
General Comments 0
You need to be logged in to leave comments.
Login now