Scotty2.1.5 memory leak fixed !

Martin Knoll (martin.knoll@tikom.co.at)
Mon, 28 Jul 1997 16:34:13 +0100

Hi all !

I fixed a memory leak in TNM 2.1.5 in the function InedGets () in:
./tnm/generic/tnmIned.c

"Tcl_DStringFree(&line);"

is missing just before

"return buffer;"

This memory leak causes tkined to allocate about 8 kB memory each
time a snmp trap comes in.

Have a nice day

Martin Knoll

Ti.KOM Tirol Kommunikation GmbH Tel. ++43(512)506-2467
Eduard Wallnoefer Platz 2 Fax ++43(512)506-2670
A-6020 Innsbruck
AUSTRIA

TIWAG Tiroler Wasserkraftwerke AG Tel. ++43(512)506-2467
Eduard Wallnoefer Platz 2 Fax ++43(512)506-2670
A-6020 Innsbruck
AUSTRIA

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.