[gimp/gimp-2-10] Issue #1974: another memory leak when saving a file.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #1974: another memory leak when saving a file.
- Date: Sun, 5 Aug 2018 09:50:25 +0000 (UTC)
commit 51e5da1f93e3d99208d51417cda65dc730c1231e
Author: Jehan <jehan girinstud io>
Date: Sun Aug 5 11:35:18 2018 +0200
Issue #1974: another memory leak when saving a file.
(cherry picked from commit 50221e143826fd7b84e97c88ca374dc68b43c782)
app/widgets/gimpsavedialog.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/app/widgets/gimpsavedialog.c b/app/widgets/gimpsavedialog.c
index 48e451f553..167fbc8628 100644
--- a/app/widgets/gimpsavedialog.c
+++ b/app/widgets/gimpsavedialog.c
@@ -329,6 +329,7 @@ gimp_save_dialog_set_image (GimpSaveDialog *dialog,
}
gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog), basename);
+ g_free (basename);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]