• Mikaël Salson's avatar
    algo: Memory not properly free-ed with exit() · 1a7bb7f8
    Mikaël Salson authored
    When calling exit() the memory allocated by the system is not
    properly free-ed. This is not really a problem in itself but
    Valgrind will complain about that.
    
    There are two solutions:
    1. replace exit() with return, but this
       requires to be in the main() function
    2. prevent Valgrind from being used in
       other cases (exit because of an error)
    
    See #3031
    1a7bb7f8
vdj_assign.cpp 3.78 KB