From d17a7faf934c6b8781c5dc792fa9eff6f097456b Mon Sep 17 00:00:00 2001 From: thunder2 Date: Sun, 14 Jun 2015 21:34:41 +0000 Subject: [PATCH] Added missing fclose to ApiServerMHD::accessHandlerCallback. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8454 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libresapi/src/api/ApiServerMHD.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libresapi/src/api/ApiServerMHD.cpp b/libresapi/src/api/ApiServerMHD.cpp index d397d0505..ba6b9aed3 100644 --- a/libresapi/src/api/ApiServerMHD.cpp +++ b/libresapi/src/api/ApiServerMHD.cpp @@ -565,6 +565,7 @@ int ApiServerMHD::accessHandlerCallback(MHD_Connection *connection, MHD_add_response_header(resp, "Content-Type", type); secure_queue_response(connection, MHD_HTTP_OK, resp); MHD_destroy_response(resp); + fclose(fd); return MHD_YES; }