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

Alisen Chung achung at openjdk.org
Mon Oct 3 20:56:48 UTC 2022


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

Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:

  reused i variable for loop

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10378/files
  - new: https://git.openjdk.org/jdk/pull/10378/files/a885893c..f49c0342

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10378&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10378&range=02-03

  Stats: 1 line in 1 file changed: 0 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