diff src/shift.c @ 194:45d9a1e2764d

Add mb_subtree_free animate action and fix bugs. - Free members of a coord in rdman_coord_subtree_free(). - Fix core dump issue of subject_notify() that can not free subjects well.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 19 Nov 2008 20:53:40 +0800
parents 530bb7728546
children 586e50f82c1f
line wrap: on
line diff
--- a/src/shift.c	Wed Nov 19 11:26:01 2008 +0800
+++ b/src/shift.c	Wed Nov 19 20:53:40 2008 +0800
@@ -80,7 +80,7 @@
 
     shift = (mb_shift_t *)malloc(sizeof(mb_shift_t));
     if(shift == NULL)
-	return (mb_action_t *)shift;
+	return NULL;
 
     shift->x = x;
     shift->y = y;