shithub: trueawk

Download patch

ref: 11b2b7b6d5c42ea63f79ce1c1d88264f83cc2155
parent: 58dba2799941de8bdd486fcc3dde1b0ad8812c50
author: Arnold D. Robbins <arnold@skeeve.com>
date: Wed Oct 25 11:26:30 EDT 2023

Add a missing free of f->gototab.

--- a/b.c
+++ b/b.c
@@ -1578,7 +1578,8 @@
 	if (f == NULL)
 		return;
 	for (i = 0; i < f->state_count; i++)
-		xfree(f->gototab[i].entries)
+		xfree(f->gototab[i].entries);
+	xfree(f->gototab);
 	for (i = 0; i <= f->curstat; i++)
 		xfree(f->posns[i]);
 	for (i = 0; i <= f->accept; i++) {
--