diff options
author | marha <marha@users.sourceforge.net> | 2013-07-09 11:30:31 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-07-09 11:30:31 +0200 |
commit | c6069c33e3a4a6d48aa059dbe9a78702dabff9cc (patch) | |
tree | 9e98e08fa3b70c7d168d60aa981498e1f3b8ace6 /fontconfig/src/fcxml.c | |
parent | a9866a9e7dc9c89962a13d6e750aa5a18b98369c (diff) | |
download | vcxsrv-c6069c33e3a4a6d48aa059dbe9a78702dabff9cc.tar.gz vcxsrv-c6069c33e3a4a6d48aa059dbe9a78702dabff9cc.tar.bz2 vcxsrv-c6069c33e3a4a6d48aa059dbe9a78702dabff9cc.zip |
fontconfig libX11 libxcb mesa git update 9 Jul 2013
libxcb commit a1e67b141a57d39cbcaff1a703d6fc0da1fbb56d
libX11 commit 383e2b0d029482a0f4c39fe00e15397538576fc1
fontconfig commit 04bd904632b22682c888f658650cdcd322544273
mesa commit 292368570a13501dfa95b1b0dd70966caf6ffc6b
Diffstat (limited to 'fontconfig/src/fcxml.c')
-rw-r--r-- | fontconfig/src/fcxml.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fontconfig/src/fcxml.c b/fontconfig/src/fcxml.c index 61dc6300b..6a2af85e3 100644 --- a/fontconfig/src/fcxml.c +++ b/fontconfig/src/fcxml.c @@ -69,8 +69,8 @@ FcTestDestroy (FcTest *test) void FcRuleDestroy (FcRule *rule) { - if (rule->next) - FcRuleDestroy (rule->next); + FcRule *n = rule->next; + switch (rule->type) { case FcRuleTest: FcTestDestroy (rule->u.test); @@ -82,6 +82,8 @@ FcRuleDestroy (FcRule *rule) break; } free (rule); + if (n) + FcRuleDestroy (n); } static FcExpr * |