Mercurial > MadButterfly
changeset 1007:4d724f248365 refine_backend_if
Free IO manager and timer manager when free a X supp runtime
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:30 +0800 |
parents | 3ee2e30b260f |
children | 789f67288e1c |
files | src/X_supp.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/X_supp.c Mon Nov 22 00:42:30 2010 +0800 +++ b/src/X_supp.c Mon Nov 22 00:42:30 2010 +0800 @@ -1027,8 +1027,10 @@ free(xmb_rt->rdman); } - if(xmb_rt->tman) - mb_tman_free(xmb_rt->tman); + if(xmb_rt->io_man) + _io_factory->free(xmb_rt->io_man); + if(xmb_rt->timer_man) + _timer_factory->free(xmb_rt->timer_man); if(xmb_rt->img_ldr) MB_IMG_LDR_FREE(xmb_rt->img_ldr);