From ac894128c62c96cbd66f5c5d5410e90d97e9855a Mon Sep 17 00:00:00 2001 From: trilader Date: Mon, 23 Nov 2020 00:03:59 +0100 Subject: [PATCH] Free data from cURL URL buffer as early as possible Freeing it where it was causes a segmentation fault for some reason --- yt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt.cpp b/yt.cpp index 3100dcd..8eab4f1 100644 --- a/yt.cpp +++ b/yt.cpp @@ -47,13 +47,13 @@ static json api_request(const std::string &url, std::map