Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!apple!usc!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Free data from XLoadQueryFont Message-ID: <8906202103.AA00808@expire.lcs.mit.edu> Date: 20 Jun 89 21:03:15 GMT References: <8906202032.AA03029@s.cs.uiuc.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 9 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.