1. 26 Feb, 2019 15 commits
  2. 31 Aug, 2017 6 commits
  3. 29 Aug, 2017 2 commits
  4. 09 Aug, 2017 3 commits
    • Alexander Scheel's avatar
      Add verto_cleanup() to free loaded_modules · 4f58419f
      Alexander Scheel authored
      Implements a new call, verto_cleanup() to be called after all contexts
      have been freed before program exit. Also adds verto_cleanup() in the
      test cases. This also ensures that filename is freed in do_load_file()
      on error paths.
      Signed-off-by: 's avatarAlexander Scheel <ascheel@redhat.com>
      [rharwood@redhat.com: use new mutex destruction, rewrite docs, fix function
      declarations, and C99 style nits]
      4f58419f
    • Robbie Harwood's avatar
      Explicitly require c99 support · 63463ac2
      Robbie Harwood authored
      This is not a new requirement: we already needed c99 support for certain
      functions (e.g., va_copy()).  However, gcc doesn't error out if functions
      introduced in newer versions of the C standard are accessed when the standard
      is something older.
      63463ac2
    • Robbie Harwood's avatar
      Update mutex usage to improve debugging · 3f6d5bbd
      Robbie Harwood authored
      Guard failures with assert(), log error messages, and add a
      mutex_destroy() function.
      3f6d5bbd
  5. 07 Aug, 2017 1 commit
    • Tomas Kuthan's avatar
      Fix memleak in libverto:vfree · 968d542e
      Tomas Kuthan authored
      verto_set_allocator(resize, hierarchical) has an unducumented
      requirement on allocator function resize, that resize(ptr, 0) is
      equivalent to free(ptr).
      
      Some implementations of the default allocator realloc don't meet this
      requirement. realloc(ptr, 0) may return a unique pointer that can be
      successfully passed to free. This new pointer never gets freed and the
      memory overhead leaks.
      
      This fix replaces realloc(ptr, 0) with free(ptr) in vresize and
      documents the allocator requirement.
      
      [rharwood@redhat.com: Cleanup comments slightly]
      Closes: #18
      968d542e
  6. 03 Aug, 2017 1 commit
  7. 02 Aug, 2017 2 commits
  8. 30 Dec, 2014 2 commits
  9. 12 Mar, 2014 2 commits
  10. 25 Aug, 2013 6 commits