From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,3263b027dd11600d,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,3263b027dd11600d,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1993-10-13 10:17:44 PST Xref: gmd.de comp.unix.ultrix:11367 comp.sys.dec:10848 Path: gmd.de!xlink.net!scsing.switch.ch!news.univie.ac.at!fstgds15.tu-graz.ac.at!finwds01.tu-graz.ac.at!tom From: tom@finwds01.tu-graz.ac.at (Thomas Leitner) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: Memory leak in scale widget (Ultrix 4.3, Motif 1.1.x) Date: 13 Oct 1993 16:12:57 GMT Organization: Technical University Graz, Austria Distribution: world Message-ID: <29h9e9INNqf3@fstgds15.tu-graz.ac.at> NNTP-Posting-Host: finwds01.tu-graz.ac.at 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