Hello to all,

I have read all FAQ & DOC ... and Google too, but I need an idea... :(

I'm coding a plugin for Net-SNMP (net-snmp-5.1.2-6), all is fine. My
trouble is about Table. I'm working with the "iterate method"
(*_get_first_data_point, *_get_next_data_point).

But I want use dynamic allocating, so I allocate my data (a simple
table) in "*_get_first_data_point" and freeing in *_get_next_data_point"
when index is out of range.

But the output of the Walk is broken if I'm freeing... If I comment the
free(), all work fine :/

I'm thinking that I'm not do the free at the good place, but where to do
it ? (other CallBack is for free row not all the data ..).


Many Thanks and Sorry for my poor English



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to