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

Alisen Chung achung at openjdk.org
Mon Oct 3 20:04:32 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:

  changed loop end condition, removed unnecessary conditional check to free graphicsConfigs

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

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

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

  Stats: 4 lines in 1 file changed: 0 ins; 2 del; 2 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