• Andrew MacIntyre's avatar
    Backport to 2.3: · 9ed93292
    Andrew MacIntyre yazdı
    If a file is opened with an explicit buffer size >= 1, repeated
    close() calls would attempt to free() the buffer already free()ed on
    the first close().     [bug introduced with patch #788249]
    
    Making sure that the buffer is free()ed in file object deallocation is
    a belt-n-braces bit of insurance against a memory leak.
    9ed93292
fileobject.c 58.9 KB