It's described that PyMem_Del is the same as PyMem_Free and the code also shows that they are the same, however, in the example below, PyMem_Del can't be used interchangeably with PyMem_Free.
char *buf3 = (char *) PyMem_Malloc(BUFSIZ);
PyMem_Del(buf3); /* Wrong -- should be PyMem_Free() */
IMHO, PyMem_Del's definition and its example are inconsistent here. Also, please correct me if I missed anything.
The text was updated successfully, but these errors were encountered:
PyMem_Del
It's described that PyMem_Del is the same as PyMem_Free and the code also shows that they are the same, however, in the example below, PyMem_Del can't be used interchangeably with PyMem_Free.
IMHO, PyMem_Del's definition and its example are inconsistent here. Also, please correct me if I missed anything.
The text was updated successfully, but these errors were encountered: