Fix some comments.
This commit is contained in:
parent
b2b20a470e
commit
e7dec99919
|
@ -1635,7 +1635,7 @@ _PyCrossInterpreterData_Release(_PyCrossInterpreterData *data)
|
||||||
} else if (data->free == PyMem_RawFree) {
|
} else if (data->free == PyMem_RawFree) {
|
||||||
_PyMem_RawFree_in_interpreter(interp, data->data);
|
_PyMem_RawFree_in_interpreter(interp, data->data);
|
||||||
} else {
|
} else {
|
||||||
// We only worry about the PyMem_* deallocators.
|
// We only worry about special-casing the PyMem_* deallocators.
|
||||||
data->free(data->data);
|
data->free(data->data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1645,7 +1645,7 @@ _PyCrossInterpreterData_Release(_PyCrossInterpreterData *data)
|
||||||
// Note that we do not free "data" itself. That should be done by
|
// Note that we do not free "data" itself. That should be done by
|
||||||
// the caller after this completes. That implies that the memory
|
// the caller after this completes. That implies that the memory
|
||||||
// for "data" is either owned by the calling interpreter or
|
// for "data" is either owned by the calling interpreter or
|
||||||
// on the heap.
|
// on the stack.
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject *
|
PyObject *
|
||||||
|
|
Loading…
Reference in New Issue