aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratmosphere <atmosphere>2002-03-01 00:52:44 +0000
committeratmosphere <atmosphere@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2002-03-01 00:52:44 +0000
commitf0e139376347866a2577324911e293dd57bdc5b4 (patch)
tree315d63184df4e119ca3446c57257c4ec721a8123
parent4efdf11ee65cc71efbd69f523127d95c0a22036d (diff)
downloadenlightenment-f0e139376347866a2577324911e293dd57bdc5b4.tar.gz
enlightenment-f0e139376347866a2577324911e293dd57bdc5b4.tar.xz
enlightenment-f0e139376347866a2577324911e293dd57bdc5b4.zip
free bgs when e_view_cleanup is called
SVN revision: 6001
-rw-r--r--ChangeLog2
-rw-r--r--src/view.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ffe869dfa..c852e968f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,3 +7,5 @@ Mon Feb 25 18:56:35 2002 Till Adam <till@adam-lilienthal.de>
View_Models
* seperation of icon and file concepts
* various small fixes and cleanups
+Thu Feb 28 18:45:12 CST 2002 Corey Donohoe <atmos@atmos.org>
+ * Free bgs in e_view_cleanup, it might still be leaking elsewhere though
diff --git a/src/view.c b/src/view.c
index 8d079f502..955bb4e6d 100644
--- a/src/view.c
+++ b/src/view.c
@@ -1609,6 +1609,7 @@ e_view_cleanup(E_View *v)
e_iconbar_save_out_final(v->iconbar);
e_object_unref(E_OBJECT(v->iconbar));
}
+ if (v->bg) e_bg_free(v->bg);
if (v->scrollbar.h) e_object_unref(E_OBJECT(v->scrollbar.h));
if (v->scrollbar.v) e_object_unref(E_OBJECT(v->scrollbar.v));
ecore_window_destroy(v->win.base);