1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00

Don't call FcFini()

Fontconfig has a bug in FcFini() where it calls assert when it probably
shouldn't. This looks to be fixed in
6f6b397802,
which is in libfontconfig >=2.13.93.

Removing this seems to be safe, it will cause valgrind to show mem
leaks, but it doesn't look to be a problem in practice.
This commit is contained in:
Brenden Matthews 2024-02-26 08:27:10 -05:00
parent 84c8e187e9
commit 5dd632c991

View File

@ -701,9 +701,6 @@ void display_output_x11::cleanup() {
XDestroyRegion(x11_stuff.region);
x11_stuff.region = nullptr;
}
#ifdef BUILD_XFT
FcFini();
#endif /* BUILD_XFT */
}
void display_output_x11::set_foreground_color(Colour c) {