* 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:
parent
82afdb09c8
commit
e4273662d2
@ -103,6 +103,8 @@ void
|
||||
FontCache::Recycle(FontCacheEntry* entry)
|
||||
{
|
||||
//printf("Recycle(%p)\n", entry);
|
||||
if (!entry)
|
||||
return;
|
||||
entry->UpdateUsage();
|
||||
entry->RemoveReference();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user