mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
fix cheevos memory leak
This commit is contained in:
parent
00ca780bba
commit
186d0d6450
@ -78,6 +78,7 @@ int net_http_get(const char **result, size_t *size, const char *url, retro_time_
|
||||
goto error;
|
||||
|
||||
memcpy((void*)res, (void*)data, length);
|
||||
free(data);
|
||||
res[length] = 0;
|
||||
*result = res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user