2006-07-19 Jon Burgess (jburgess@uklinux.net) reviewed by: plam
Fix file-descriptor leak in FcGlobalCacheDestroy.
This commit is contained in:
parent
1c14f2d963
commit
62a4a8459a
|
@ -1,3 +1,10 @@
|
|||
2006-07-19 Jon Burgess (jburgess@uklinux.net)
|
||||
reviewed by: plam
|
||||
|
||||
* src/fccache.c (FcGlobalCacheDestroy):
|
||||
|
||||
Fix file-descriptor leak in FcGlobalCacheDestroy.
|
||||
|
||||
2006-05-31 Yong Li (rigel863@gmail.com)
|
||||
reviewed by: plam, Bedhad Esfahbod
|
||||
|
||||
|
|
|
@ -173,6 +173,8 @@ FcGlobalCacheDestroy (FcGlobalCache *cache)
|
|||
FcGlobalCacheDirDestroy (d);
|
||||
}
|
||||
FcMemFree (FC_MEM_CACHE, sizeof (FcGlobalCache));
|
||||
if (cache->fd != -1)
|
||||
close (cache->fd);
|
||||
free (cache);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue