Set these lists to null first as well.

SVN revision: 28654
v-1.6.0
titan 17 years ago committed by titan
parent 2385a27752
commit 0ca324cbbf
  1. 2
      src/bin/ephoto_main.c

@ -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…
Cancel
Save