[OpenJDK 2D-Dev] Integrated: JDK-8260432: allocateSpaceForGP in freetypeScaler.c might leak memory
Matthias Baesken
mbaesken at openjdk.java.net
Thu Jan 28 15:24:42 UTC 2021
On Wed, 27 Jan 2021 08:39:33 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 3aabbd72
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/3aabbd72
Stats: 12 lines in 1 file changed: 8 ins; 0 del; 4 mod
8260432: allocateSpaceForGP in freetypeScaler.c might leak memory
Reviewed-by: shade, stuefe
-------------
PR: https://git.openjdk.java.net/jdk/pull/2250
More information about the 2d-dev
mailing list