From 03d8d8278e162e120203a05c7d765016ef0dbad0 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 5 May 2004 15:34:11 +0000 Subject: [PATCH] fixed bug which would have leaked broken menu translations. 2004-05-05 Michael Natterer * app/actions/plug-in-actions.c (plug_in_actions_add_proc): fixed bug which would have leaked broken menu translations. * app/gui/plug-in-menus.c: removed useless #includes. --- ChangeLog | 7 +++++++ app/actions/plug-in-actions.c | 6 +++--- app/gui/plug-in-menus.c | 2 -- app/menus/plug-in-menus.c | 2 -- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1c55f6256d..9f4e54a890 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-05-05 Michael Natterer + + * app/actions/plug-in-actions.c (plug_in_actions_add_proc): fixed + bug which would have leaked broken menu translations. + + * app/gui/plug-in-menus.c: removed useless #includes. + 2004-05-05 Michael Natterer * app/actions/file-actions.c diff --git a/app/actions/plug-in-actions.c b/app/actions/plug-in-actions.c index 814bca20f1..0bdf76ba66 100644 --- a/app/actions/plug-in-actions.c +++ b/app/actions/plug-in-actions.c @@ -302,11 +302,11 @@ plug_in_actions_add_proc (GimpActionGroup *group, *p2 = '\0'; plug_in_actions_build_path (group, path_original, path_translated); - - g_free (path_original); - g_free (path_translated); } + g_free (path_original); + g_free (path_translated); + g_free (help_id); } diff --git a/app/gui/plug-in-menus.c b/app/gui/plug-in-menus.c index 31fa30d5cf..59d36649eb 100644 --- a/app/gui/plug-in-menus.c +++ b/app/gui/plug-in-menus.c @@ -31,10 +31,8 @@ #include "plug-in/plug-ins.h" #include "plug-in/plug-in-def.h" #include "plug-in/plug-in-proc.h" -#include "plug-in/plug-in-run.h" #include "widgets/gimpuimanager.h" -#include "widgets/gimpwidgets-utils.h" #include "plug-in-menus.h" diff --git a/app/menus/plug-in-menus.c b/app/menus/plug-in-menus.c index 31fa30d5cf..59d36649eb 100644 --- a/app/menus/plug-in-menus.c +++ b/app/menus/plug-in-menus.c @@ -31,10 +31,8 @@ #include "plug-in/plug-ins.h" #include "plug-in/plug-in-def.h" #include "plug-in/plug-in-proc.h" -#include "plug-in/plug-in-run.h" #include "widgets/gimpuimanager.h" -#include "widgets/gimpwidgets-utils.h" #include "plug-in-menus.h"