diff 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
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);