Looks like one, yes. I just added a one line change :
  XtFree(buf2);
at the end of self_insert().

Thanks,

        Danny

[EMAIL PROTECTED] wrote:
> In file: lesstif-0.93.41/lib/Xm/TextF.c
> In funtion:
> static void
> self_insert(Widget, XEvent *, String *, Cardinal *);
> 
> char *buf2 is allocated line #5469 by buf2 = XtMalloc(len+1);
> I did not find the corresponding call XtFree(buf2).
> Is it a memory leak ?
> 
> Jacques Simon

-- 
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page :     http://users.skynet.be/danny.backx
Projects:       LessTif (http://lesstif.sourceforge.net)
                Xbae    (http://xbae.sourceforge.net)
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to