Valgrinding...

- Might as well free roots on errors to make valgrind happy.


SVN revision: 20527
This commit is contained in:
stffrdhrn 2006-02-16 21:18:11 +00:00 committed by stffrdhrn
parent c61ba650a9
commit 29567e3e4d
1 changed files with 2 additions and 0 deletions

View File

@ -880,6 +880,7 @@ _e_main_screens_init(void)
{
e_error_message_show("Cannot create manager object for screen %i\n",
i);
free(roots);
return 0;
}
con = e_container_new(man);
@ -895,6 +896,7 @@ _e_main_screens_init(void)
{
e_error_message_show("Cannot create desktop object for manager on screen %i\n",
i);
free(roots);
return 0;
}
}