[DTrace-devel] [oracle/dtrace-utils] 23cdaf: usdt parser: fix memory leak in provider and probe...

Kris Van Hees noreply at github.com
Thu Jun 19 15:39:04 UTC 2025


  Branch: refs/heads/devel
  Home:   https://github.com/oracle/dtrace-utils
  Commit: 23cdaf54ce759b69d8db612d59e5f9bfebcb70bb
      https://github.com/oracle/dtrace-utils/commit/23cdaf54ce759b69d8db612d59e5f9bfebcb70bb
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M libcommon/usdt_parser_notes.c

  Log Message:
  -----------
  usdt parser: fix memory leak in provider and probe htabs

The prvmap and prbmap hashtable implementation was lacking code to
ensure that entries are freed when the hashtables are destroyed.  In
addition, the pvp->pmap hashtables were also not cleaned up.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>



To unsubscribe from these emails, change your notification settings at https://github.com/oracle/dtrace-utils/settings/notifications



More information about the DTrace-devel mailing list