Memory leak in DefaultProxySelector

XMLWordPrintable

    • b07
    • windows
    • Verified

        There's a memory leak in Windows DefaultProxySelector. The method createProxyList creates a list and stores a pointer in `head`; that pointer is then used as iterator, and when the iteration finishes, memory is never free'd.

        The leak only happens when DefaultProxySelector is used (java.net.useSystemProxies=true) and a proxy is used (the connection is not direct).

        Reported by clang-tidy.

              Assignee:
              Daniel Jelinski
              Reporter:
              Daniel Jelinski
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: