Integrated: 8347758: modules.cpp leaks string returned from get_numbered_property_as_sorted_string()

Zhengyu Gu zgu at openjdk.org
Mon Jan 20 19:16:39 UTC 2025


On Wed, 15 Jan 2025 03:11:31 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: ca863fd5
Author:    Zhengyu Gu <zgu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ca863fd5ab309c502ea36f2d778ae3de5674e24f
Stats:     9 lines in 1 file changed: 7 ins; 1 del; 1 mod

8347758: modules.cpp leaks string returned from get_numbered_property_as_sorted_string()

Reviewed-by: dholmes, iklam, ccheung

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

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


More information about the hotspot-runtime-dev mailing list