A good catch by devilhorns.

SVN revision: 27257
This commit is contained in:
David Walter Seikel 2006-11-27 21:33:01 +00:00
parent 26b9a98431
commit 97970e262f
1 changed files with 6 additions and 3 deletions

View File

@ -848,9 +848,12 @@ ecore_exe_free(Ecore_Exe * exe)
ecore_timer_del(exe->doomsday_clock);
exe->doomsday_clock = NULL;
dead = exe->doomsday_clock_dead;
IF_FREE(dead->cmd);
free(dead);
exe->doomsday_clock_dead = NULL;
if (dead)
{
IF_FREE(dead->cmd);
free(dead);
exe->doomsday_clock_dead = NULL;
}
}
IF_FN_DEL(ecore_main_fd_handler_del, exe->write_fd_handler);
IF_FN_DEL(ecore_main_fd_handler_del, exe->read_fd_handler);