Skip to content
Snippets Groups Projects
  • Robert Schmidt's avatar
    ac0af5a8
    Fix shlib loaded: free memory, handle lib reload · ac0af5a8
    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
    ac0af5a8
    History
    Fix shlib loaded: free memory, handle lib reload
    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