mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
prevent double free
This commit is contained in:
parent
5554e5a842
commit
ed18ed48ac
@ -718,14 +718,6 @@ static void rcheevos_async_task_callback(
|
||||
CHEEVOS_ERR(RCHEEVOS_TAG "%s %u: %s\n", request->failure_message,
|
||||
request->id, error);
|
||||
}
|
||||
|
||||
if (data)
|
||||
{
|
||||
if (data->data)
|
||||
free(data->data);
|
||||
|
||||
free(data);
|
||||
}
|
||||
}
|
||||
|
||||
static void rcheevos_validate_memrefs(rcheevos_locals_t* locals)
|
||||
|
Loading…
x
Reference in New Issue
Block a user