ref: e759007ea6a033ca713e53a4f1cdeea933e02c30
parent: b1ad1cffd79e7552f06df0381ce58a7571da3dea
author: Noam Preil <noam@pixelhero.dev>
date: Fri Apr 8 09:56:59 EDT 2022
op: fix memory leak
--- a/op.c
+++ b/op.c
@@ -117,6 +117,7 @@
gspop(Op *op, Page *p)
{
USED(op);
+ free(p->GSactive->Font.widths);
GS *r = realloc(p->GS, sizeof(GS) * (p->nGS - 1));
if(r == nil)
return 0;