Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: tom@finwds01.tu-graz.ac.at (Thomas Leitner)
Subject: Memory leak in scale widget (Ultrix 4.3, Motif 1.1.x)
Date: 13 Oct 1993 16:12:57 GMT	[thread overview]
Message-ID: <29h9e9INNqf3@fstgds15.tu-graz.ac.at> (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


                 reply	other threads:[~1993-10-13 16:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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