* 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:
Stephan Aßmus 2007-08-11 13:16:07 +00:00
parent 82afdb09c8
commit e4273662d2

View File

@ -103,6 +103,8 @@ void
FontCache::Recycle(FontCacheEntry* entry)
{
//printf("Recycle(%p)\n", entry);
if (!entry)
return;
entry->UpdateUsage();
entry->RemoveReference();
}