From: John Darrington Date: Sat, 27 Jun 2020 05:27:25 +0000 (+0200) Subject: PSPPIRE: Fix memory leaks in dialogs X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=299b2e07075afef3525f7861e1fa9c24bdf152d4;p=pspp PSPPIRE: Fix memory leaks in dialogs --- diff --git a/src/ui/gui/psppire-dialog.c b/src/ui/gui/psppire-dialog.c index c7b8d048ad..3a1893d839 100644 --- a/src/ui/gui/psppire-dialog.c +++ b/src/ui/gui/psppire-dialog.c @@ -432,6 +432,8 @@ psppire_dialog_run (PsppireDialog *dialog) g_signal_emit (dialog, signals [RESPONSE], 0, dialog->response); + g_free (title); + return dialog->response; }