• Jeremy Hylton's avatar
    (Possibly) correct use of Python memory APIs. · 469b47a0
    Jeremy Hylton authored
    Fix SF bug #516768 reported by Dave Wallace.
    
    Replace use of PyMem_DEL() with PyObject_Del() on object dealloc
    functions.  The use of PyMem_DEL() is incorrect for object
    deallocation, because it only ever calls the low-level free().  If a
    custom allocator like pymalloc is used, it needs to be called to free
    the memory.
    469b47a0
TimeStamp.c 9.76 KB