free bgs when e_view_cleanup is called

SVN revision: 6001
devs/princeamd/enlightenment-0.17-elive
atmosphere 22 years ago committed by atmosphere
parent 4efdf11ee6
commit f0e1393763
  1. 2
      ChangeLog
  2. 1
      src/view.c

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

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

Loading…
Cancel
Save