From a756da1844f63a2f2162eb8e53a883f496e4faad Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 7 Dec 2012 10:30:38 -0500 Subject: catalogue: Fix obvious thinko Signed-off-by: Adam Jackson --- src/fontfile/catalogue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontfile/catalogue.c b/src/fontfile/catalogue.c index 7e7e477..09ca2ae 100644 --- a/src/fontfile/catalogue.c +++ b/src/fontfile/catalogue.c @@ -192,7 +192,7 @@ CatalogueRescan (FontPathElementPtr fpe, Bool forceScan) subfpe->type = fpe->type; subfpe->name_length = len; subfpe->name = malloc (len + 1); - if (subfpe == NULL) + if (subfpe->name == NULL) { free(subfpe); continue; -- cgit v1.2.3