in function `read_file', realloc() doesn't free the buffer if it can't

allocate new memory
This commit is contained in:
Roberto Ierusalimschy
2000-10-26 10:53:55 -02:00
parent b892f0a877
commit 89f98c0995
2 changed files with 12 additions and 3 deletions

6
bugs
View File

@@ -229,3 +229,9 @@ Wed Sep 27 13:39:45 EST 2000
>> (e.g. <20>a = {print'foo'}<7D>)
(by Edgar Toernig; since 4.0b, deriving from previous bug)
** liolib.c
Thu Oct 26 10:50:46 EDT 2000
>> in function `read_file', realloc() doesn't free the buffer if it can't
>> allocate new memory
(by Mauro Vezzosi; since 4.0b)