[En-Nut-Discussion] Bug fix to app/pppc.c sample code

Brett Abbott Brett.Abbott at digital-telemetry.com
Wed Oct 25 22:33:54 CEST 2006


Hi

Please add to pppd.c sample:

    if(buff)
        NutHeapFree(buff);

to the end of ProcessRequests to eliminate main memory leak.

Cheers
Brett

-- 
-----------------------------------------------------------------
Brett Abbott, Managing Director, Digital Telemetry Limited
Email: Brett.Abbott at digital-telemetry.com
PO Box 24 036 Manners Street, Wellington, New Zealand
Phone +64 (4) 5666-860  Mobile +64 (21) 656-144
------------------- Commercial in confidence --------------------





More information about the En-Nut-Discussion mailing list