From 21cefe506ebbf401d21f182adf519476d85a68ef Mon Sep 17 00:00:00 2001 From: ishmal Date: Sat, 4 Mar 2006 00:12:22 +0000 Subject: [PATCH] Fix typo from when i applied patch. My mistake. Sorry! --- src/trace/potrace/potracelib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trace/potrace/potracelib.cpp b/src/trace/potrace/potracelib.cpp index c86c0e4c2..acba35fff 100644 --- a/src/trace/potrace/potracelib.cpp +++ b/src/trace/potrace/potracelib.cpp @@ -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; } -- 2.30.2