DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27862>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27862 Mod_rewrite leak memory in lookup_map Summary: Mod_rewrite leak memory in lookup_map Product: Apache httpd-2.0 Version: 2.0.46 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: mod_rewrite AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] If I am using rewritemap in my http.conf file, RewriteMap map1 txt:C:/conf/hmmolist.map RewriteCond ${map1:%1|NONE} ^(http.*) [NC] the "RewriteCond" in the 2nd line above in http.conf will call lookup_map() which calls get_cache_string() for cached info, inside of function get_cache_string(), the last statment is return apr_pstrdup(c->pool, ce->value); it is needed to be changed to return ce->value; to avoid memroy leak. I made the change myself, I don't see memory leak. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
