libdraw: fix more leaks

front
cinap_lenrek 2011-08-14 15:16:56 +02:00
parent 3a55f9ac92
commit e1318e0bef
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ void
uninstallsubfont(Subfont *subfont)
{
if(subfont == lastsubfont){
free(lastname);
lastname = 0;
lastsubfont = 0;
}