On Fri, 20 Aug 2004 19:35:09 -0700 Steve wrote:
SF> Don't I see a memory leak here?

=:-O

I did mention it was a temporary fix, didn't I? Lame excuse, but it's the
best one I've got. At least I didn't check it in! 

For the memory conscious:

SF> > +        char *type_list;
SF>            char *type_list_save;            <--

SF> > +        type_list = strdup(types);
SF>            type_list_save = type_list;              <--

SF> > +            type_list = ++delim;
SF> > +        }
SF>            free(type_list_save);            <--

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to