[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/02: chunked_example: fixed resource leak
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/02: chunked_example: fixed resource leak |
Date: |
Thu, 03 Jun 2021 21:23:09 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 533d5cecd4390cec9ea75e6d1baabaae1945f0aa
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Jun 3 21:30:11 2021 +0300
chunked_example: fixed resource leak
---
src/examples/chunked_example.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/examples/chunked_example.c b/src/examples/chunked_example.c
index ed20d472..68b7ea1e 100644
--- a/src/examples/chunked_example.c
+++ b/src/examples/chunked_example.c
@@ -143,6 +143,7 @@ ahc_echo (void *cls,
"chunked"))
{
free (callback_param);
+ MHD_destroy_response (response);
return MHD_NO;
}
ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.