[DTrace-devel] [PATCH 8/8] io, ip, sched: fix memory leaks

Nick Alcock nick.alcock at oracle.com
Thu Apr 4 20:02:40 UTC 2024


On 3 Apr 2024, Kris Van Hees via DTrace-devel told this:

> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
> ---
>  libdtrace/dt_prov_io.c    | 1 +
>  libdtrace/dt_prov_ip.c    | 3 ++-
>  libdtrace/dt_prov_sched.c | 3 ++-
>  3 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/libdtrace/dt_prov_io.c b/libdtrace/dt_prov_io.c
> index ace3982a..992b623a 100644
> --- a/libdtrace/dt_prov_io.c
> +++ b/libdtrace/dt_prov_io.c
> @@ -517,4 +517,5 @@ dt_provimpl_t	dt_io = {
>  	.enable		= &dt_sdt_enable,
>  	.trampoline	= &trampoline,
>  	.probe_info	= &dt_sdt_probe_info,
> +	.destroy	= &dt_sdt_destroy,
>  };

Hm, thought I already had a fix for all of these pushed. Clearly not!

Reviewed-by: Nick Alcock <nick.alcock at oracle.com>

who wrote the exact same code last week and clearly forgot to push it
anywhere :P



More information about the DTrace-devel mailing list