diff options
author | Ademar de Souza Reis Jr <ademar@mandriva.com.br> | 2007-07-30 14:36:21 -0400 |
---|---|---|
committer | Dodji Seketeli <dodji@seketeli.org> | 2007-08-11 23:05:00 +0200 |
commit | 9f86614394af81bc484cf00f3e9996510d3718cb (patch) | |
tree | b596da8a253f8b5d924395b2ed606ac47eb3b846 /src/fontfile | |
parent | 87f50267181887ed9214536608bd2035d2dd70f7 (diff) |
Fix dirfd leak on CatalogueRescan().
Diffstat (limited to 'src/fontfile')
-rw-r--r-- | src/fontfile/catalogue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fontfile/catalogue.c b/src/fontfile/catalogue.c index 8168ffd..33d4434 100644 --- a/src/fontfile/catalogue.c +++ b/src/fontfile/catalogue.c @@ -218,6 +218,8 @@ CatalogueRescan (FontPathElementPtr fpe) } } + closedir(dir); + qsort(cat->fpeList, cat->fpeCount, sizeof cat->fpeList[0], ComparePriority); |