httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Trawick" <traw...@gmail.com>
Subject memory leak in 2.2.x balancer?
Date Tue, 27 Nov 2007 13:20:41 GMT
looks like a leak to me; what do you think?

Index: modules/proxy/mod_proxy_balancer.c
===================================================================
--- modules/proxy/mod_proxy_balancer.c  (revision 598305)
+++ modules/proxy/mod_proxy_balancer.c  (working copy)
@@ -654,7 +654,7 @@
         const char *val;
         if ((val = apr_table_get(params, "ss"))) {
             if (strlen(val))
-                bsel->sticky = apr_pstrdup(conf->pool, val);
+                bsel->sticky = apr_pstrdup(r->pool, val);
             else
                 bsel->sticky = NULL;
         }

trunk looks much different here.  Does anyone plan to backport the
larger changes to 2.2.x in the near term, or should we go for this
tweak?

Mime
View raw message