From 186d0d64506b91763710d28779e43b63b0bd956d Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Wed, 28 Sep 2016 23:05:59 -0400 Subject: [PATCH] fix cheevos memory leak --- network/net_http_special.c | 1 + 1 file changed, 1 insertion(+) diff --git a/network/net_http_special.c b/network/net_http_special.c index f074510ca4..ca92f092ac 100644 --- a/network/net_http_special.c +++ b/network/net_http_special.c @@ -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; }