mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
commit
3687b29d9a
@ -1175,8 +1175,12 @@ error1:
|
|||||||
if ( data )
|
if ( data )
|
||||||
{
|
{
|
||||||
result = (char*)malloc( length + 1 );
|
result = (char*)malloc( length + 1 );
|
||||||
memcpy( (void*)result, (void*)data, length );
|
|
||||||
result[ length ] = 0;
|
if ( result )
|
||||||
|
{
|
||||||
|
memcpy( (void*)result, (void*)data, length );
|
||||||
|
result[ length ] = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user