• Robert Schmidt's avatar
    Fix shlib loaded: free memory, handle lib reload · 49fb0d6d
    Robert Schmidt authored
    - introduce loader_reset() that frees all memory
    - resolve memory leak in loader_format_shlibpath()
    - correctly handle library reload: check if a function has been
      retrieved already. Don't leak memory (strdup()), and handle multiple
      reloads of different functions from the same SO
    49fb0d6d
load_module_shlib.c 9.78 KB