summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4332ec8)
raw | patch | inline | side by side (parent: 4332ec8)
author | ishmal <ishmal@users.sourceforge.net> | |
Sat, 4 Mar 2006 00:12:22 +0000 (00:12 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sat, 4 Mar 2006 00:12:22 +0000 (00:12 +0000) |
src/trace/potrace/potracelib.cpp | patch | blob | history |
index c86c0e4c205406b8cc74b894a0aa3c03f32de472..acba35fff4a7b58c1b1c644c312494f85ddd3c2c 100644 (file)
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;
}