mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +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