Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Memory leak in scale widget (Ultrix 4.3, Motif 1.1.x)
@ 1993-10-13 16:12 Thomas Leitner
  0 siblings, 0 replies; only message in thread
From: Thomas Leitner @ 1993-10-13 16:12 UTC (permalink / raw)


Hi everyone,

I think I found a memory leak in the scale widget. I'm using
Motif 1.1 as shipped by DEC with Ultrix 4.3 and I'm using the
dbmalloc public domain library to trace malloc errors.

Symptom: Whenever the scale is dragged, 2 memory blocks, one containing
         16 bytes and the other containing 8 bytes are allocated and
         *never* freed. This is what the dbmalloc lib. says about these
         blocks:

1007BC40 unknown                      malloc(1710)        16 01010000A0BC07
1007BCA0 unknown                      malloc(1711)         8 01010101010101

Apparently when the scale position is set with XtVaSetValues(w, XmNvalue...),
these two blocks are allocated as well.

Question: Is this a known problem? Any cures ?

Please reply per e-mail. I'll post a summary if there's enough demand.

Thanks -- Tom
-- 
-------------------------------------------------------------------------
Tom Leitner, Dept. of Communications, Technical University Graz / Austria
Internet: tom@finwds01.tu-graz.ac.at  or  tom@piassun1.joanneum.ac.at
FidoNet : 2:316/7.91


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-10-13 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-10-13 16:12 Memory leak in scale widget (Ultrix 4.3, Motif 1.1.x) Thomas Leitner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox