mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Revert "Update filestream_getline to prevent heap corruption"
This reverts commit 60a45db69e
.
This commit is contained in:
parent
60a45db69e
commit
1f8e0fdfe5
1 changed files with 1 additions and 2 deletions
|
@ -478,8 +478,7 @@ char *filestream_getline(RFILE *stream)
|
|||
|
||||
if (!newline_tmp)
|
||||
{
|
||||
if (newline)
|
||||
free(newline);
|
||||
free(newline);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue