[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libps: Fix memory leak
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] libps: Fix memory leak |
Date: |
Sat, 5 Nov 2022 20:18:47 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Richard Braun, le sam. 05 nov. 2022 15:15:05 +0100, a ecrit:
> ---
> libps/procstat.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/libps/procstat.c b/libps/procstat.c
> index d0423410..131d3a4b 100644
> --- a/libps/procstat.c
> +++ b/libps/procstat.c
> @@ -1097,6 +1097,7 @@ _proc_stat_free (ps)
> 0, &ps->task_events_info_buf, char);
> MFREEMEM (PSTAT_THREAD_WAITS, thread_waits, ps->thread_waits_len,
> ps->thread_waits_vm_alloced, 0, char);
> + MFREEMEM (PSTAT_EXE, exe, sizeof(string_t), ps->exe_vm_alloced, 0, char);
>
> FREE (ps);
> }
> --
> 2.37.2
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.