From: ishmal Date: Sat, 4 Mar 2006 00:12:22 +0000 (+0000) Subject: Fix typo from when i applied patch. My mistake. Sorry! X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=21cefe506ebbf401d21f182adf519476d85a68ef;p=inkscape.git Fix typo from when i applied patch. My mistake. Sorry! --- 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; }