RFR: 8347758: modules.cpp leaks string returned from get_numbered_property_as_sorted_string() [v6]

Zhengyu Gu zgu at openjdk.org
Thu Jan 16 19:08:53 UTC 2025


> Modules::get_numbered_property_as_sorted_string() returns strings created from os::strdup(), callers should free them after uses.

Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:

  Move RM close to use

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23121/files
  - new: https://git.openjdk.org/jdk/pull/23121/files/be5f90ff..5131735d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23121&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23121&range=04-05

  Stats: 4 lines in 1 file changed: 2 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23121.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23121/head:pull/23121

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


More information about the hotspot-runtime-dev mailing list