comparison src/shape_path.c @ 770:abd9bbf24545

mb_obj_destroy for sh_path_t
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 29 Aug 2010 18:48:20 +0800
parents da794f4fe96c
children 586e50f82c1f
comparison
equal deleted inserted replaced
769:7c73fbc8d700 770:abd9bbf24545
374 374
375 /* ============================================================ */ 375 /* ============================================================ */
376 376
377 static void sh_path_free(shape_t *shape) { 377 static void sh_path_free(shape_t *shape) {
378 sh_path_t *path = (sh_path_t *)shape; 378 sh_path_t *path = (sh_path_t *)shape;
379
380 mb_obj_destroy(path);
379 if(path->user_data) 381 if(path->user_data)
380 free(path->user_data); 382 free(path->user_data);
381 free(path); 383 free(path);
382 } 384 }
383 385