diff src/event.c @ 251:f08b3ba9c1d8

Remove potential memory address error. - Fix memory address error in mb_prop_store_destroy(). - Invoke mb_prop_store_destroy() in redraw_man.c to free property stores for coord and shape objects.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 04 Jan 2009 12:09:29 +0800
parents bd8ea44b421e
children 29acbd8a0dd0
line wrap: on
line diff
--- a/src/event.c	Sun Jan 04 11:42:32 2009 +0800
+++ b/src/event.c	Sun Jan 04 12:09:29 2009 +0800
@@ -724,6 +724,7 @@
     } else {
 	coord = (coord_t *)obj;
 	area = coord_get_area(coord);
+	shape = NULL;
     }
 	
     if(IS_MBO_SHAPES(others_root)) {