RFR: 8292214: Memory leak in getAllConfigs of awt_GraphicsEnv.c:386

Alisen Chung achung at openjdk.org
Wed Sep 21 20:25:55 UTC 2022


changed return to cleanup in getAllConfigs
changed cleanup to loop thru and free all allocated memory adjacent to graphicsConfig pointer

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

Commit messages:
 - corrected loop thru graphicsConfigs
 - init commit

Changes: https://git.openjdk.org/jdk/pull/10378/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10378&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292214
  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10378.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10378/head:pull/10378

PR: https://git.openjdk.org/jdk/pull/10378



More information about the client-libs-dev mailing list