about summary refs log tree commit diff stats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/main.c b/main.c
index b4c092f..c8b10e6 100644
--- a/main.c
+++ b/main.c
@@ -77,7 +77,6 @@ int main() {
 	/* check for special commands, else pass to exec() */
 	if (strcmp(buf, "quit") == 0) {
 	  fprintf(s.defout, "quitting, bye!\n");
-	  free (s.sorted);
 	  exit(0);
 	} else if (strcmp(buf, "list") == 0) {
 	  for (int i = 0; i < s.numel; i++) {
@@ -99,7 +98,5 @@ int main() {
       fprintf(s.defout,"%d → %f\n",i, s.stk.val[i]);
     }
   }
-  /* free stuff */
-  free (s.sorted);
 }