free bgs when e_view_cleanup is called

SVN revision: 6001
This commit is contained in:
atmosphere 2002-03-01 00:52:44 +00:00 committed by atmosphere
parent 4efdf11ee6
commit f0e1393763
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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);