From edc1de7d15c248b1dbe99ff06208e980b4e7e4a1 Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Thu, 12 Jul 2001 05:07:20 +0000 Subject: [PATCH] * glayout.c (create_new_menu): Don't release file2 if it is NULL. --- gnome/glayout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome/glayout.c b/gnome/glayout.c index 9ae5fe796..efb6c4938 100644 --- a/gnome/glayout.c +++ b/gnome/glayout.c @@ -629,10 +629,10 @@ create_new_menu (GnomeApp *app, WPanel *panel) if (file2 != NULL){ if (strcmp (file, file2) != 0) create_new_menu_from (file2, shell, pos); + g_free (file2); } g_free (file); - g_free (file2); } /*