From f4fe447f49171d4b0ad69c8efcbadc555f211efa Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 20 Aug 2002 23:17:03 +0000 Subject: [PATCH] Memory leak in XML parsing of matrices (thanks Owen) --- src/fcxml.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fcxml.c b/src/fcxml.c index 242a56d..a927f6d 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -1,5 +1,5 @@ /* - * $XFree86: xc/lib/fontconfig/src/fcxml.c,v 1.18 2002/08/11 18:10:42 keithp Exp $ + * $XFree86: xc/lib/fontconfig/src/fcxml.c,v 1.19 2002/08/19 19:32:05 keithp Exp $ * * Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc. * @@ -996,6 +996,7 @@ FcParseMatrix (FcConfigParse *parse) case m_yy: m.yy = v; break; default: break; } + FcVStackDestroy (vstack); matrix_state--; } if (matrix_state != m_done) -- 2.39.5