RFR: 8282628: Potential memory leak in sun.font.FontConfigManager.getFontConfig()
David Holmes
dholmes at openjdk.java.net
Sat Mar 5 05:32:05 UTC 2022
On Fri, 4 Mar 2022 21:54:57 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
> The macros are used to hide the different syntax of c and c++ to avoid polluting code here, it seems to be a common pattern in client code.
That's to allow for general use by C or C++ source files. But you are only needing this in a C source file so you would only need the C variant of the calling syntax.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7691
More information about the core-libs-dev
mailing list