From ac8d5f550e441001ea08b767d857f0c544aa0de0 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 27 Jun 2020 13:26:39 +0200 Subject: [PATCH] psppire-output-view.c (psppire_output_view_destroy): Fix memory leak. --- src/ui/gui/psppire-output-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/gui/psppire-output-view.c b/src/ui/gui/psppire-output-view.c index ff71057309..2ac85a52ad 100644 --- a/src/ui/gui/psppire-output-view.c +++ b/src/ui/gui/psppire-output-view.c @@ -793,6 +793,9 @@ psppire_output_view_destroy (struct psppire_output_view *view) xr_driver_destroy (view->xr); + if (view->cur_group) + gtk_tree_path_free (view->cur_group); + free (view); } -- 2.30.2