diff src/X_main.c @ 13:ed55009d96d3

refactory for redrawing
author Thinker K.F. Li <thinker@branda.to>
date Thu, 31 Jul 2008 08:10:00 +0800
parents 79e9edf4c00a
children c2ce186a5c37
line wrap: on
line diff
--- a/src/X_main.c	Mon Jul 28 17:45:36 2008 +0800
+++ b/src/X_main.c	Thu Jul 31 08:10:00 2008 +0800
@@ -26,6 +26,7 @@
     rdman_add_shape(&rdman, (shape_t *)path, coord);
     sh_path_transform(path);
     sh_path_draw(path, cr);
+    sh_path_free(path);
 }
 
 void drawing(cairo_surface_t *surface, int w, int h) {