Plugged little linenoise memory leaks.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index 4a92f00835d3f4c616b50fe95ae1b4d7f6c7b670..aa7a900fa8934328900f7a269ffd82d728587d7a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -29,9 +29,6 @@
 
 struct game_t game;
 
-long LNLENG, LNPOSN;
-char rawbuf[LINESIZE], INLINE[LINESIZE + 1];
-
 FILE  *logfp = NULL, *rfp = NULL;
 bool oldstyle = false;
 bool editline = true;
@@ -1184,7 +1181,6 @@ Laction:
         default:
             BUG(ACTION_RETURNED_PHASE_CODE_BEYOND_END_OF_SWITCH); // LCOV_EXCL_LINE
         }
-        linenoiseFree(input);
     }
 }