Set these lists to null first as well.

SVN revision: 28654
This commit is contained in:
titan 2007-03-11 09:10:42 +00:00 committed by titan
parent 2385a27752
commit 0ca324cbbf
1 changed files with 2 additions and 0 deletions

View File

@ -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!");