[OpenJDK 2D-Dev] RFR: JDK-8260432: allocateSpaceForGP in freetypeScaler.c might leak memory
Matthias Baesken
mbaesken at openjdk.java.net
Wed Jan 27 08:44:54 UTC 2021
The function AllocateSpaceForGP in freetypeScaler.c calls potentially 2 times malloc ; however the memory is not always freed correctly in case of errors.
See also the related sonar issue :
https://sonarcloud.io/project/issues?id=shipilev_jdk&languages=c&open=AXck8B_SBBG2CXpcngxr&resolved=false&severities=BLOCKER&types=BUG
-------------
Commit messages:
- JDK-8260432
Changes: https://git.openjdk.java.net/jdk/pull/2250/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2250&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8260432
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/2250.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2250/head:pull/2250
PR: https://git.openjdk.java.net/jdk/pull/2250
More information about the 2d-dev
mailing list