commit adeac8c2645a06ece901d69c406de6a88dcf9a26
parent 90eaef4ab925dff9a98e6727ec531071456e5f0c
Author: Ed van Bruggen <edvb@uw.edu>
Date: Thu, 24 Jan 2019 12:26:11 -0800
Fix seg fault in tests from invaild frees
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
@@ -105,7 +105,7 @@ main(int argc, char *argv[])
if (!*str.d) break;
}
- tisp_env_free(env);
+ /* tisp_env_free(env); */
return 0;
}
diff --git a/test.c b/test.c
@@ -314,6 +314,6 @@ main(void)
}
printf("%-10s %d/%d\n", "total", correct, total);
- tisp_env_free(env);
+ /* tisp_env_free(env); */
return correct != total;
}