# HG changeset patch # User Thinker K.F. Li # Date 1290357750 -28800 # Node ID 4d724f248365d8007996a52d0bf02c8c52a27b64 # Parent 3ee2e30b260fa3b2b9c33fac4a037ad9f40ffb5e Free IO manager and timer manager when free a X supp runtime diff -r 3ee2e30b260f -r 4d724f248365 src/X_supp.c --- 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);