changeset 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 7c73fbc8d700
children 01b514800fbe
files src/shape_path.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/shape_path.c	Sun Aug 29 18:47:06 2010 +0800
+++ b/src/shape_path.c	Sun Aug 29 18:48:20 2010 +0800
@@ -376,6 +376,8 @@
 
 static void sh_path_free(shape_t *shape) {
     sh_path_t *path = (sh_path_t *)shape;
+
+    mb_obj_destroy(path);
     if(path->user_data)
 	free(path->user_data);
     free(path);