Make sure we free desktop before getting new

SVN revision: 47518
This commit is contained in:
Sebastian Dransfeld 2010-03-27 20:53:41 +00:00
parent 3ad866ca96
commit 7c9c49eabc
1 changed files with 5 additions and 0 deletions

View File

@ -6913,6 +6913,11 @@ _e_border_eval(E_Border *bd)
if (bd->changes.icon)
{
if (bd->desktop)
{
efreet_desktop_free(bd->desktop);
bd->desktop = NULL;
}
if (bd->icon_object)
{
evas_object_del(bd->icon_object);