On Wed, 27 Jan 2021 08:39:33 GMT, Matthias Baesken <mbaes...@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 <mbaes...@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

Reply via email to