fix cheevos memory leak

This commit is contained in:
Brad Parker 2016-09-28 23:05:59 -04:00
parent 00ca780bba
commit 186d0d6450

View File

@ -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;
}