(exec_get_export_variables_ext): use g_new0() for stable test results.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2012-12-20 14:27:34 +03:00 committed by Andrew Borodin
parent 42f54a0a32
commit e13437d950

View File

@ -54,7 +54,7 @@ setup (void)
mc_global.mc_run_mode = MC_RUN_FULL;
current_panel = g_new0(struct WPanel, 1);
current_panel->cwd_vpath = vfs_path_from_str("/home");
current_panel->dir.list = g_new (file_entry, MIN_FILES);
current_panel->dir.list = g_new0 (file_entry, MIN_FILES);
current_panel->dir.size = MIN_FILES;
}