Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!ucbvax!alfalfa.com!nazgul From: nazgul@alfalfa.com (Kee Hinckley) Newsgroups: comp.windows.x.motif Subject: Re: _XmCharsetCanonicalize() crashing in motif 1.1.1 Message-ID: <910327134506.880@sun> Date: 27 Mar 91 18:45:06 GMT References: <1991Mar27.164253.14453@dkwgate.uucp> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 17 > XmString a, b, xmstr; > > a = XmStringCreate(cs[i], XmSTRING_DEFAULT_CHARSET); > b = xmstr; > xmstr = XmStringConcat(a,b); > XtFree(a); > XtFree(b); Better make that XmStringFree instead of XtFree or you may have leaks of your own :-). Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.