mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
foo being allocated with metadata based allocator needs to
be freed similarly.
This commit is contained in:
parent
e5249f302a
commit
2a59327aeb
1 changed files with 3 additions and 3 deletions
|
@ -97,7 +97,7 @@ static bool CheckIfRaw(FileReader & data)
|
||||||
}
|
}
|
||||||
else if (ofs >= 64000-1) // Need one byte for an empty column
|
else if (ofs >= 64000-1) // Need one byte for an empty column
|
||||||
{
|
{
|
||||||
free (foo);
|
M_Free (foo);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -108,14 +108,14 @@ static bool CheckIfRaw(FileReader & data)
|
||||||
{
|
{
|
||||||
if (foo2[ofs] == 255)
|
if (foo2[ofs] == 255)
|
||||||
{
|
{
|
||||||
free (foo);
|
M_Free (foo);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
ofs += foo2[ofs+1] + 4;
|
ofs += foo2[ofs+1] + 4;
|
||||||
}
|
}
|
||||||
if (ofs >= 64000)
|
if (ofs >= 64000)
|
||||||
{
|
{
|
||||||
free (foo);
|
M_Free (foo);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue