From ea1e0cfdb6a7432a5274706abf2c5f410e042992 Mon Sep 17 00:00:00 2001 From: titan Date: Wed, 21 Mar 2007 10:43:23 +0000 Subject: [PATCH] Remove unused pointer from the structure, and it doesn't need to be freed anymore. SVN revision: 28848 --- src/bin/ephoto.h | 1 - src/bin/ephoto_main.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/bin/ephoto.h b/src/bin/ephoto.h index 304ee5b..614f44d 100644 --- a/src/bin/ephoto.h +++ b/src/bin/ephoto.h @@ -110,7 +110,6 @@ typedef struct _Ephoto_Main Ephoto_Main; struct _Ephoto_Main { - char **views; Ecore_List *albums; Ecore_List *images; Ewl_Widget *atree; diff --git a/src/bin/ephoto_main.c b/src/bin/ephoto_main.c index d94b5e0..16a10c5 100644 --- a/src/bin/ephoto_main.c +++ b/src/bin/ephoto_main.c @@ -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;