Mercurial > MadButterfly
comparison src/X_supp.c @ 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 |
comparison
equal
deleted
inserted
replaced
1006:3ee2e30b260f | 1007:4d724f248365 |
---|---|
1025 if(xmb_rt->rdman) { | 1025 if(xmb_rt->rdman) { |
1026 redraw_man_destroy(xmb_rt->rdman); | 1026 redraw_man_destroy(xmb_rt->rdman); |
1027 free(xmb_rt->rdman); | 1027 free(xmb_rt->rdman); |
1028 } | 1028 } |
1029 | 1029 |
1030 if(xmb_rt->tman) | 1030 if(xmb_rt->io_man) |
1031 mb_tman_free(xmb_rt->tman); | 1031 _io_factory->free(xmb_rt->io_man); |
1032 if(xmb_rt->timer_man) | |
1033 _timer_factory->free(xmb_rt->timer_man); | |
1032 | 1034 |
1033 if(xmb_rt->img_ldr) | 1035 if(xmb_rt->img_ldr) |
1034 MB_IMG_LDR_FREE(xmb_rt->img_ldr); | 1036 MB_IMG_LDR_FREE(xmb_rt->img_ldr); |
1035 | 1037 |
1036 if(xmb_rt->cr) | 1038 if(xmb_rt->cr) |