diff src/paint.c @ 154:6ce68c1f7405

Tank can fire bullet. 1. Add the redraw subject on redraw_man_t. 2. mb_c_source.m4 & mb_c_header.m4 are changed to free & remove shapes. 3. Add rdman_coord_subtree_free() to remove a subtree of coords. 4. Fix bug of rdman_remove_shape().
author Thinker K.F. Li <thinker@branda.to>
date Tue, 30 Sep 2008 02:44:06 +0800
parents 995ee8fd5f1a
children b90abd31a281
line wrap: on
line diff
--- a/src/paint.c	Sat Sep 27 02:40:42 2008 +0800
+++ b/src/paint.c	Tue Sep 30 02:44:06 2008 +0800
@@ -26,7 +26,7 @@
     paint_color_t *color = (paint_color_t *)paint;
 
     shnode_list_free(color->rdman, paint->members);
-    free(paint);
+    elmpool_elm_free(color->rdman->paint_color_pool, paint);
 }
 
 paint_t *paint_color_new(redraw_man_t *rdman,