summaryrefslogtreecommitdiffstats
path: root/src/trace
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-03-04 00:12:22 +0000
committerishmal <ishmal@users.sourceforge.net>2006-03-04 00:12:22 +0000
commitc8f70f48d6dbd3555b83b86327cacc360ca9d69e (patch)
tree6f09a548427f8e72b61b56b87390b2e8fa2b034a /src/trace
parentFix bug with invalid singleton pointer. If we want a single dialog displayed... (diff)
downloadinkscape-c8f70f48d6dbd3555b83b86327cacc360ca9d69e.tar.gz
inkscape-c8f70f48d6dbd3555b83b86327cacc360ca9d69e.zip
Fix typo from when i applied patch. My mistake. Sorry!
(bzr r199)
Diffstat (limited to 'src/trace')
-rw-r--r--src/trace/potrace/potracelib.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}