##// END OF EJS Templates
reachableroots: pass NULL to PySet_New() as it expects a pointer, not an int
Yuya Nishihara -
r26015:ed60d2ae default
parent child Browse files
Show More
@@ -1144,7 +1144,7 b' static PyObject *reachableroots(indexObj'
1144 includepath = 1;
1144 includepath = 1;
1145
1145
1146 /* Initialize return set */
1146 /* Initialize return set */
1147 reachable = PySet_New(0);
1147 reachable = PySet_New(NULL);
1148 if (reachable == NULL) {
1148 if (reachable == NULL) {
1149 PyErr_NoMemory();
1149 PyErr_NoMemory();
1150 goto bail;
1150 goto bail;
General Comments 0
You need to be logged in to leave comments. Login now