[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: fix #8012
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: fix #8012 |
Date: |
Sun, 21 Jan 2024 13:29:42 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 32aa4d0d fix #8012
32aa4d0d is described below
commit 32aa4d0d99a05020a23874f31be931cb79e72cec
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jan 21 12:29:38 2024 +0100
fix #8012
---
src/microhttpd/connection.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 963aaf04..916ca691 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -653,10 +653,12 @@ MHD_connection_alloc_memory_ (struct MHD_Connection
*connection,
{
struct MHD_Connection *const c = connection; /* a short alias */
struct MemoryPool *const pool = c->pool; /* a short alias */
- size_t need_to_be_freed; /**< The required amount of additional free memory
*/
+ size_t need_to_be_freed = 0; /**< The required amount of additional free
memory */
void *res;
- res = MHD_pool_try_alloc (pool, size, &need_to_be_freed);
+ res = MHD_pool_try_alloc (pool,
+ size,
+ &need_to_be_freed);
if (NULL != res)
return res;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: fix #8012,
gnunet <=