Remove unused pointer from the structure, and it doesn't need to be freed anymore.

SVN revision: 28848
master
titan 16 years ago committed by titan
parent 68212d2937
commit ea1e0cfdb6
  1. 1
      src/bin/ephoto.h
  2. 1
      src/bin/ephoto_main.c

@ -110,7 +110,6 @@ typedef struct _Ephoto_Main Ephoto_Main;
struct _Ephoto_Main
{
char **views;
Ecore_List *albums;
Ecore_List *images;
Ewl_Widget *atree;

@ -25,7 +25,6 @@ static void destroy(Ewl_Widget *w, void *event, void *data)
ewl_widget_destroy(em->win);
ecore_list_destroy(em->albums);
ecore_list_destroy(em->images);
free(em->views);
free(em);
ewl_main_quit();
return;

Loading…
Cancel
Save