X11 leaks memory when XSupportsLocale is used
Submitted by Zdenek Kabelac
Assigned to Xorg Project Team
Description
Created attachment 89685 Demo program for XSupportsLocale() memory leak
Hi
I've noticed, whenever XSupportsLocale() is used, functions which uses some fonts are leaving some memory allocated behind when X connection is closed.
I'm attaching simple program to demonstrate leaks. And also valgrind output of allocations left after closing display.
If the XSupportsLocale() is not used there are no leaks.
Attachment 89685, "Demo program for XSupportsLocale() memory leak":
testX.c
Version: git