* this function might be called with a NULL FontCacheEntry, handle that
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21889 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -103,6 +103,8 @@ void
|
|||||||
FontCache::Recycle(FontCacheEntry* entry)
|
FontCache::Recycle(FontCacheEntry* entry)
|
||||||
{
|
{
|
||||||
//printf("Recycle(%p)\n", entry);
|
//printf("Recycle(%p)\n", entry);
|
||||||
|
if (!entry)
|
||||||
|
return;
|
||||||
entry->UpdateUsage();
|
entry->UpdateUsage();
|
||||||
entry->RemoveReference();
|
entry->RemoveReference();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user