[gimp] app: fix string leak in prefs_profile_combo_box_new()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix string leak in prefs_profile_combo_box_new()
- Date: Thu, 27 Mar 2014 18:12:55 +0000 (UTC)
commit b4a2fa916c0ec28b8b2bade80137a3bb0182a20a
Author: Michael Natterer <mitch gimp org>
Date: Thu Mar 27 19:11:13 2014 +0100
app: fix string leak in prefs_profile_combo_box_new()
app/dialogs/preferences-dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c
index 2bc2c77..cc59638 100644
--- a/app/dialogs/preferences-dialog.c
+++ b/app/dialogs/preferences-dialog.c
@@ -880,6 +880,8 @@ prefs_profile_combo_box_new (GObject *config,
gimp_color_profile_combo_box_set_active (GIMP_COLOR_PROFILE_COMBO_BOX (combo),
filename, NULL);
+ g_free (filename);
+
g_signal_connect (dialog, "response",
G_CALLBACK (prefs_profile_combo_dialog_response),
combo);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]