summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2012-12-07 10:30:38 -0500
committerAdam Jackson <ajax@redhat.com>2012-12-07 10:45:12 -0500
commita756da1844f63a2f2162eb8e53a883f496e4faad (patch)
tree8b5f749b6c4703a998ece35be17dd927b6a4ed25
parent5680e4c3d76cd5c64175d88d0685ee6962aa1e46 (diff)
catalogue: Fix obvious thinko
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/fontfile/catalogue.c2
1 files changed, 1 insertions, 1 deletions
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;