X11 leaks memory when XSupportsLocale is used
Submitted by Zdenek Kabelac
Assigned to Xorg Project Team
Created attachment 89685 Demo program for XSupportsLocale() memory leak
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":