]> git.wh0rd.org Git - fontconfig.git/commitdiff
Memory leak in XML parsing of matrices (thanks Owen)
authorKeith Packard <keithp@keithp.com>
Tue, 20 Aug 2002 23:17:03 +0000 (23:17 +0000)
committerKeith Packard <keithp@keithp.com>
Tue, 20 Aug 2002 23:17:03 +0000 (23:17 +0000)
src/fcxml.c

index 242a56d2c335381f72ec9c9719ff620fb5e4becf..a927f6dd525ad1b1780174ad4c4fe6ed6c13d003 100644 (file)
@@ -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)