From d52daa0024a6c0bb160c3b3c7f85d0b031f88c85 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Tue, 6 Aug 2013 15:09:23 +0900 Subject: [PATCH] Bug 67809 - Invalid read/write with valgrind when assigning something twice --- src/fccfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fccfg.c b/src/fccfg.c index afb03f6..be738d5 100644 --- a/src/fccfg.c +++ b/src/fccfg.c @@ -1652,7 +1652,7 @@ FcConfigSubstituteWithPat (FcConfig *config, if (value[object]) { FcValueList *thisValue = value[object]; - FcValueList *nextValue = thisValue; + FcValueList *nextValue = l; /* * Append the new list of values after the current value