We should free the pointer we malloced, not something else.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - JDK-8394181

Changes: https://git.openjdk.org/jdk/pull/33289/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33289&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8394181
  Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/33289.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33289/head:pull/33289

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

Reply via email to