shithub: neatroff

Download patch

ref: 7f13115a53862b03f051b4651da8102fcc4f11e9
parent: 19cf35dbea4392f893b256c107ea23668d716774
author: Ali Gholami Rudi <[email protected]>
date: Sun Jul 13 15:29:50 EDT 2014

font: free font gdict and cdict in font_close()

--- a/font.c
+++ b/font.c
@@ -229,5 +229,7 @@
 
 void font_close(struct font *fn)
 {
+	dict_done(&fn->gdict);
+	dict_done(&fn->cdict);
 	free(fn);
 }