Signed-off-by: Benjamin ROBIN <dev@xxxxxxxxxxxxx> --- src/libkshark-model.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libkshark-model.c b/src/libkshark-model.c index 44f829d..4cd9f6a 100644 --- a/src/libkshark-model.c +++ b/src/libkshark-model.c @@ -104,7 +104,8 @@ static void ksmodel_set_in_range_bining(struct kshark_trace_histo *histo, free(histo->bin_count); free(histo->map); - + histo->map = NULL; + histo->bin_count = NULL; return; } -- 2.43.0