RFR: 8322057: Memory leaks in creating jfr symbol array
A small fix to avoid memory leak when temporary c string is allocated in c heap. ------------- Commit messages: - 8322057: Memory leaks in creating jfr symbol array Changes: https://git.openjdk.org/jdk/pull/17099/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17099&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8322057 Stats: 8 lines in 2 files changed: 8 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/17099.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17099/head:pull/17099 PR: https://git.openjdk.org/jdk/pull/17099
On Thu, 14 Dec 2023 01:30:24 GMT, Zhengyu Gu <zgu@openjdk.org> wrote:
A small fix to avoid memory leak when temporary c string is allocated in c heap.
Thank you, Zhengyu! ------------- Marked as reviewed by mgronlun (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/17099#pullrequestreview-1781528461
On Thu, 14 Dec 2023 10:39:05 GMT, Markus Grönlund <mgronlun@openjdk.org> wrote:
A small fix to avoid memory leak when temporary c string is allocated in c heap.
Thank you, Zhengyu!
Thanks for the review, @mgronlun ------------- PR Comment: https://git.openjdk.org/jdk/pull/17099#issuecomment-1856818332
On Thu, 14 Dec 2023 01:30:24 GMT, Zhengyu Gu <zgu@openjdk.org> wrote:
A small fix to avoid memory leak when temporary c string is allocated in c heap.
This pull request has now been integrated. Changeset: a7dde578 Author: Zhengyu Gu <zgu@openjdk.org> URL: https://git.openjdk.org/jdk/commit/a7dde578a8c18ae7f38fe2061773eba6f8086aa4 Stats: 8 lines in 2 files changed: 8 ins; 0 del; 0 mod 8322057: Memory leaks in creating jfr symbol array Reviewed-by: mgronlun ------------- PR: https://git.openjdk.org/jdk/pull/17099
participants (2)
-
Markus Grönlund
-
Zhengyu Gu