mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
Merge branch '1973_segfault_panel_format'
* 1973_segfault_panel_format: Ticket #1973: Segfault in 'Listing mode' dialog
This commit is contained in:
commit
c79e5939e6
@ -1526,7 +1526,7 @@ parse_display_format (WPanel *panel, const char *format, char **error, int issta
|
||||
while (*format){ /* format can be an empty string */
|
||||
int found = 0;
|
||||
|
||||
darr = g_new (format_e, 1);
|
||||
darr = g_new0 (format_e, 1);
|
||||
|
||||
/* I'm so ugly, don't look at me :-) */
|
||||
if (!home)
|
||||
|
Loading…
Reference in New Issue
Block a user