summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/main.c1
-rw-r--r--src/include/aplwc.h2
-rwxr-xr-xtests/scripts/1.aplwc2
3 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index e799202..572d170 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -106,6 +106,7 @@ file_size:
return 1;
}
free(input);
+ input = NULL;
}
if(xflag)
diff --git a/src/include/aplwc.h b/src/include/aplwc.h
index a22bd8d..3061500 100644
--- a/src/include/aplwc.h
+++ b/src/include/aplwc.h
@@ -30,6 +30,6 @@ void aplwc_free_value(struct aplwc_value *);
const char *aplwc_value_string(struct aplwc_value *);
enum aplwc_rc aplwc_load_module(struct aplwc *, const char *, const char *, int n);
-#define APLWC_MIN_MEM (2048)
+#define APLWC_MIN_MEM (64000)
#endif /* APLWC_H */
diff --git a/tests/scripts/1.aplwc b/tests/scripts/1.aplwc
index 77104b2..e101d02 100755
--- a/tests/scripts/1.aplwc
+++ b/tests/scripts/1.aplwc
@@ -1,3 +1,5 @@
#!/usr/bin/env aplwc-repl
+∇ run
⎕←40 + 2
+∇