[jdk11u-dev] RFR: 8284033: Leak XVisualInfo in getAllConfigs in awt_GraphicsEnv.c

Zhengyu Gu zgu at openjdk.java.net
Thu Apr 21 11:41:15 UTC 2022


I would like to backport this small and low risk patch to fix a memory leak.

The original patch does not apply cleanly, due to context difference. The patch is small, applied manually.

Test:
- [x] jdk_awt on Linux x86_64

-------------

Commit messages:
 - Backport 36b3bbc53de074647ce04de890dc99bd5a2373e8

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/1037/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=1037&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8284033
  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/1037.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/1037/head:pull/1037

PR: https://git.openjdk.java.net/jdk11u-dev/pull/1037


More information about the jdk-updates-dev mailing list