I think a design idea of mod_python is that all memory allocated in a request is directed into one pool (apr memory pool[1]), which is freed after the request is done [2]. So I think this patch should not introduce a memory leak.
[1]: https://apr.apache.org/docs/apr/1.7/apr__pools_8h.html [2]: https://modpython.org/python10/ "Memory Management and Cleanups" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078527 Title: sys.version from mod_python cannot be parsed by the python platform module To manage notifications about this bug go to: https://bugs.launchpad.net/mod-python/+bug/2078527/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
