Set these lists to null first as well.
SVN revision: 28654
This commit is contained in:
parent
2385a27752
commit
0ca324cbbf
|
@ -55,6 +55,8 @@ void create_main_gui(void)
|
|||
|
||||
em = NULL;
|
||||
em = calloc(1, sizeof(Ephoto_Main));
|
||||
em->albums = NULL;
|
||||
em->images = NULL;
|
||||
|
||||
em->win = ewl_window_new();
|
||||
ewl_window_title_set(EWL_WINDOW(em->win), "Ephoto!");
|
||||
|
|
Loading…
Reference in New Issue