[comp.windows.x] Free data from XLoadQueryFont

rws@EXPO.LCS.MIT.EDU (06/21/89)

    I.e., if I use XFreeFont, I can no longer use the font.

Aha!  Finally I understand what you're asking, apologies for abusing you and
not catching on sooner.  You want to free the structure without closing the
font, and XFreeFont won't let you do that.  You should in fact call
XFreeFontInfo, passing it NULL for the "names" argument, and passing 1 for
"actual_count".  It's gross, and Xlib oughta have a better way, but that's
Xlib.