• Kirill Smelkov's avatar
    bigfile: RAM must be explicitly free'ed after close · f688a31d
    Kirill Smelkov authored
    Else on-heap allocated RAM object is leaked. Fixes e.g. the following
    error on ASAN:
    
    	Direct leak of 56 byte(s) in 1 object(s) allocated from:
    	    #0 0x7fc9ef390518 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xe9518)
    	    #1 0x555ca792f309 in zalloc include/wendelin/utils.h:67
    	    #2 0x555ca7935f9a in ram_limited_new bigfile/tests/../../t/t_utils.c:35
    	    #3 0x555ca793a0ba in test_file_access_synthetic bigfile/tests/test_virtmem.c:292
    	    #4 0x555ca7967bc4 in main bigfile/tests/test_virtmem.c:1121
    	    #5 0x7fc9ef0e909a in __libc_start_main ../csu/libc-start.c:308
    f688a31d
Name
Last commit
Last update
3rdparty Loading commit data...
bigarray Loading commit data...
bigfile Loading commit data...
demo Loading commit data...
include/wendelin Loading commit data...
lib Loading commit data...
t Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
README.rst Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
wendelin.py Loading commit data...