ref: e1318e0bef899022aaef65ad23ddc15e8d79192c
parent: 3a55f9ac922becace239c28db293012c6979d269
author: cinap_lenrek <cinap_lenrek@localhost>
date: Sun Aug 14 11:16:56 EDT 2011
libdraw: fix more leaks
--- a/sys/src/libdraw/subfontcache.c
+++ b/sys/src/libdraw/subfontcache.c
@@ -34,6 +34,7 @@
uninstallsubfont(Subfont *subfont)
{
if(subfont == lastsubfont){
+ free(lastname);
lastname = 0;
lastsubfont = 0;
}