summaryrefslogtreecommitdiff
path: root/interchange.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-14 13:00:41 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-14 13:00:41 +0800
commit710866e180a9d02c99ad1ce64a2f6bcaff2c975b (patch)
tree191bf1d87f455a1f2f4d636502eb8bd387ff1fe2 /interchange.c
parent0a247a34b172d94806fbf3db902d97f7f1e51091 (diff)
Response now carries URL info just like Emscripten
Diffstat (limited to 'interchange.c')
-rw-r--r--interchange.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/interchange.c b/interchange.c
index 88d4d10..8a70bbb 100644
--- a/interchange.c
+++ b/interchange.c
@@ -110,6 +110,7 @@ void interchange_free_response(interchange_response *response)
#ifdef __EMSCRIPTEN__
emscripten_fetch_close(response);
#else
+ free(response->url);
free(response->data);
curl_easy_cleanup(response->curl);
free(response);