added freeing buffer for Base64 encoded file
authorHolger Schemel <info@artsoft.org>
Fri, 30 Apr 2021 15:57:49 +0000 (17:57 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 1 May 2021 13:38:31 +0000 (15:38 +0200)
src/files.c

index 83cbc05947dbb181f793d4b7c2610d3154541b61..eb47c4efd0e8c4c7073e5ba5e9a41a95780c894a 100644 (file)
@@ -9159,6 +9159,8 @@ static void UploadScoreToServerExt(struct HttpRequest *request,
           score_entry->tape_basename,
           tape_base64);
 
+  checked_free(tape_base64);
+
   ConvertHttpRequestBodyToServerEncoding(request);
 
   if (!DoHttpRequest(request, response))