Code

Another typo from the patch. sorry again.
authorishmal <ishmal@users.sourceforge.net>
Sat, 4 Mar 2006 01:48:59 +0000 (01:48 +0000)
committerishmal <ishmal@users.sourceforge.net>
Sat, 4 Mar 2006 01:48:59 +0000 (01:48 +0000)
src/trace/potrace/potracelib.cpp

index acba35fff4a7b58c1b1c644c312494f85ddd3c2c..efd9b14d284dc49f11a7a710d789f72ffffaa4bd 100644 (file)
@@ -32,7 +32,7 @@ static const potrace_param_t param_default = {
 potrace_param_t *potrace_param_default() {
   potrace_param_t *p;
 
-  p = (potrace_param_t *) malloc(sizeof(potrace_param_t *));
+  p = (potrace_param_t *) malloc(sizeof(potrace_param_t));
   if (!p) {
     return NULL;
   }