This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 04912b6795539efcc683d8f8ec9d894378212ee8
Author: Cedric BAIL <[email protected]>
AuthorDate: Wed Nov 11 21:03:38 2026 -0600
ecore_con: the proxy helper frees the answers nobody collected
A request the helper answered but nobody waited for kept the proxies in
the unread message of its thread queue; cancelling at shutdown freed the
request and the queue but not what the message pointed to. The unread
messages are drained, and their proxies freed, before the request goes.
Seen with any ecore_con_url request run under valgrind, e.g. the local
GET in the suite.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/lib/ecore_con/ecore_con_proxy_helper.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/lib/ecore_con/ecore_con_proxy_helper.c b/src/lib/ecore_con/ecore_con_proxy_helper.c
index 1f6a7dca27..94c4e229e2 100644
--- a/src/lib/ecore_con/ecore_con_proxy_helper.c
+++ b/src/lib/ecore_con/ecore_con_proxy_helper.c
@@ -141,6 +141,15 @@ _efl_net_proxy_helper_cancel(void)
eina_thread_queue_send_done(req->thq, ref);
if (!req->busy)
{
+ Efl_Net_Proxy_Helper_Thq_Msg *left;
+ void *left_ref;
+
+ /* answers nobody collected own their proxies */
+ while ((left = eina_thread_queue_poll(req->thq, &left_ref)))
+ {
+ ecore_con_libproxy_proxies_free(left->proxies);
+ eina_thread_queue_wait_done(req->thq, left_ref);
+ }
free(req->str);
ecore_con_libproxy_proxies_free(req->proxies);
eina_thread_queue_free(req->thq);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.