summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/make-te.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/make-te.c b/src/common/make-te.c
index 5eceb5f0..834646ef 100644
--- a/src/common/make-te.c
+++ b/src/common/make-te.c
@@ -87,9 +87,11 @@ int main(void)
 		if (i + 1 < max)
 		{
 			fprintf(stderr, "\t%s,\t\t%s,\n", defines[i], defines[i+1]);
+			free (defines[i]);
 			i++;
 		} else
 			fprintf(stderr, "\t%s,\n", defines[i]);
+		free (defines[i]);
 		i++;
 	}
 	fprintf(stderr, "\tNUM_XP\n};\n");