ref: 611dced75f0a6c9fd4b35b88ee0dd9ac5806cb54
dir: /libdraw/freesubfont.c/
#include "lib9.h" #include "draw.h" void freesubfont(Subfont *f) { if(f == 0) return; f->ref--; if(f->ref > 0) return; uninstallsubfont(f); free(f->info); /* note: f->info must have been malloc'ed! */ freeimage(f->bits); free(f); }