Fixed bug in LreadLine

This commit is contained in:
Dmitry Boulytchev 2020-02-25 01:19:15 +03:00
parent 21a52fd58f
commit fe963a15d7
2 changed files with 3 additions and 1 deletions

View file

@ -1239,6 +1239,8 @@ extern void* LreadLine () {
if (scanf ("%m[^\n]", &buf) == 1) { if (scanf ("%m[^\n]", &buf) == 1) {
void * s = Bstring (buf); void * s = Bstring (buf);
getchar ();
free (buf); free (buf);
return s; return s;
} }

View file

@ -1 +1 @@
let version = "Version 1.00, 897af34a, Mon Feb 24 01:08:09 2020 +0300" let version = "Version 1.00, 21a52fd5, Tue Feb 25 00:58:17 2020 +0300"