commit 2cbe7c1a59e1c2f3633ed500e8654f1f073254e3 from: the xhr date: Fri Aug 20 09:43:08 2021 UTC Also free memory for decoded request here commit - 1e186154edcaf6eea53fe66e5b5303b9d57433fd commit + 2cbe7c1a59e1c2f3633ed500e8654f1f073254e3 blob - e6303b42c26b503dcc19a636175f3b4aae69bb86 blob + 609f3685eeeb7ac318a2ac6c07916e911fab47de --- request.c +++ request.c @@ -141,6 +141,7 @@ get_path_from_request(char *request, char *finalpath) ret = check_gemini_file(finalpath); if (ret < 0) { log_debug("%s not found", finalpath); + free(decoded_request); return -2; } else if (ret == 1) { log_debug("%s is a directory", finalpath);