ref: ecd4ac1a64261514c8ed69e0dc31cf48d7ee0495
parent: 47de129642654bcb5793cf64e0ea1f9b9dee9aeb
author: Ali Gholami Rudi <[email protected]>
date: Sat May 6 07:15:14 EDT 2017
tr: free cdef_dst[] entries before neatroff exits
--- a/tr.c
+++ b/tr.c
@@ -1212,5 +1212,8 @@
void tr_done(void)
{
+ int i;
+ for (i = 0; i < cdef_n; i++)
+ free(cdef_dst[i]);
dict_free(cmap);
}