aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-09-30 16:49:22 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-10-04 13:17:51 -0400
commit93f6234623e60dc1f6f4a008aa3d23430fd2871b (patch)
treec7971f6d8d76d8514e455e2634381bbb67fa2e01
parentef5b237cd353c23d0cd2494d1e2bcd5cde7146ca (diff)
Fix free string: program name
-rw-r--r--pc.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/pc.y b/pc.y
index 4c4b276..b0f9e4a 100644
--- a/pc.y
+++ b/pc.y
@@ -112,6 +112,7 @@ program
print_scope(cur_scope);
#endif
pop_scope(&cur_scope);
+ free($2);
}
;