diff options
Diffstat (limited to 'base/ttobjs.c')
-rw-r--r-- | base/ttobjs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/ttobjs.c b/base/ttobjs.c index 75eacb9c..5fa95a88 100644 --- a/base/ttobjs.c +++ b/base/ttobjs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2021 Artifex Software, Inc. +/* Copyright (C) 2001-2022 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -303,6 +303,9 @@ static int free_aux(ttfMemory *mem, void *ptr) if (n_points < 100) n_points = 100; /* Bug 689907 */ + exec->n_contours = exec->n_points = 0; + exec->twilight.n_points = 0; + if ( ALLOC_ARRAY( exec->callStack, exec->callSize, callSize, TCallRecord ) || /* reserve interpreter call stack */ |