changeset 418:af6adacbed07

Make sh_stext object managed by rdman. It should call rdman_shape_man() to make rdman managing the shape object.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 26 Jul 2009 22:13:20 +0800
parents abc420282c70
children 7c921fda21be
files src/shape_stext.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/shape_stext.c	Sun Jul 26 15:31:40 2009 +0800
+++ b/src/shape_stext.c	Sun Jul 26 22:13:20 2009 +0800
@@ -299,7 +299,9 @@
 	free(txt_o);
 	txt_o = NULL;
     }
-
+    
+    rdman_shape_man(rdman, (shape_t *)txt_o);
+    
     return (shape_t *)txt_o;
 }