Whoops, forgot to increment the reference counter when a cache open finds a match
parent
22f9e86fd1
commit
34632b8a36
|
@ -87,7 +87,10 @@ static HSOUNDFONT cache_open( const char * path )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
font = entry.handle;
|
font = entry.handle;
|
||||||
|
++entry.ref_count;
|
||||||
|
}
|
||||||
|
|
||||||
return font;
|
return font;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue