* glayout.c (create_new_menu): Don't release file2 if it is NULL.

This commit is contained in:
Andrew V. Samoilov 2001-07-12 05:07:20 +00:00
parent 2d7255d8cf
commit edc1de7d15

View File

@ -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);
}
/*