Code

Fix typo from when i applied patch. My mistake. Sorry!
authorishmal <ishmal@users.sourceforge.net>
Sat, 4 Mar 2006 00:12:22 +0000 (00:12 +0000)
committerishmal <ishmal@users.sourceforge.net>
Sat, 4 Mar 2006 00:12:22 +0000 (00:12 +0000)
src/trace/potrace/potracelib.cpp

index c86c0e4c205406b8cc74b894a0aa3c03f32de472..acba35fff4a7b58c1b1c644c312494f85ddd3c2c 100644 (file)
@@ -61,7 +61,7 @@ potrace_state_t *potrace_trace(const potrace_param_t *param, const potrace_bitma
   prog.d_prev = param->progress.min;
 
   /* allocate state object */
-  st = (potrace_state_t *)malloc(sizeof(potrace_state_t *));
+  st = (potrace_state_t *)malloc(sizeof(potrace_state_t));
   if (!st) {
     return NULL;
   }