projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afca783
)
Free patterns from fonts which are rejected by configuration (bug #2518)
author
Keith Packard
<keithp@keithp.com>
Thu, 10 Feb 2005 23:00:51 +0000
(23:00 +0000)
committer
Keith Packard
<keithp@keithp.com>
Thu, 10 Feb 2005 23:00:51 +0000
(23:00 +0000)
reviewed by: pborelli@katamail.com
ChangeLog
patch
|
blob
|
history
src/fcdir.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
ff45495
..
a67f619
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,11
@@
+2005-02-10 Keith Packard <keithp@keithp.com>
+
+ reviewed by: pborelli@katamail.com
+
+ * src/fcdir.c: (FcFileScanConfig):
+ Free patterns from fonts which are rejected by configuration
+ (bug #2518)
+
2005-01-28 Keith Packard <keithp@keithp.com>
* README:
diff --git
a/src/fcdir.c
b/src/fcdir.c
index
8f7738d
..
974886d
100644
(file)
--- a/
src/fcdir.c
+++ b/
src/fcdir.c
@@
-150,6
+150,8
@@
FcFileScanConfig (FcFontSet *set,
ret = FcFalse;
}
}
+ else if (font)
+ FcPatternDestroy (font);
id++;
} while (font && ret && id < count);
return ret;