diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/debug.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c index d229ae6..273fbb0 100644 --- a/src/debug.c +++ b/src/debug.c @@ -156,8 +156,6 @@ void type_mismatch(struct scope *scope, struct ast *node, char *ls = type_str(l); char *rs = type_str(r); semantic_error(scope, node, "type mismatch: %s vs %s\n", ls, rs); - free(ls); - free(rs); } void move_error(struct ast *new_use, struct ast *prev_use) |
