libdraw: fix more leaks
parent
3a55f9ac92
commit
e1318e0bef
|
@ -34,6 +34,7 @@ void
|
|||
uninstallsubfont(Subfont *subfont)
|
||||
{
|
||||
if(subfont == lastsubfont){
|
||||
free(lastname);
|
||||
lastname = 0;
|
||||
lastsubfont = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue