Remove unused pointer from the structure, and it doesn't need to be freed anymore.
SVN revision: 28848
This commit is contained in:
parent
68212d2937
commit
ea1e0cfdb6
|
@ -110,7 +110,6 @@ typedef struct _Ephoto_Main Ephoto_Main;
|
||||||
|
|
||||||
struct _Ephoto_Main
|
struct _Ephoto_Main
|
||||||
{
|
{
|
||||||
char **views;
|
|
||||||
Ecore_List *albums;
|
Ecore_List *albums;
|
||||||
Ecore_List *images;
|
Ecore_List *images;
|
||||||
Ewl_Widget *atree;
|
Ewl_Widget *atree;
|
||||||
|
|
|
@ -25,7 +25,6 @@ static void destroy(Ewl_Widget *w, void *event, void *data)
|
||||||
ewl_widget_destroy(em->win);
|
ewl_widget_destroy(em->win);
|
||||||
ecore_list_destroy(em->albums);
|
ecore_list_destroy(em->albums);
|
||||||
ecore_list_destroy(em->images);
|
ecore_list_destroy(em->images);
|
||||||
free(em->views);
|
|
||||||
free(em);
|
free(em);
|
||||||
ewl_main_quit();
|
ewl_main_quit();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue