mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
* glayout.c (create_new_menu): Don't release file2 if it is NULL.
This commit is contained in:
parent
2d7255d8cf
commit
edc1de7d15
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user