Re: Order of functions in close_agentx_session

2007-01-23 Thread Josef Moellers
Thomas Anders wrote: > Josef Moellers wrote on 2006-11-03: > >>During analysis, I already tried *not* freing certain data structures to >>see how far I got and the first thing I did was deepcopying a >>netsnmp_subtree rather than assigning the pointer in >>netsnmp_add_varbind_to_cache() (reques

Re: Order of functions in close_agentx_session

2007-01-22 Thread Thomas Anders
Josef Moellers wrote on 2006-11-03: > During analysis, I already tried *not* freing certain data structures to > see how far I got and the first thing I did was deepcopying a > netsnmp_subtree rather than assigning the pointer in > netsnmp_add_varbind_to_cache() (request->subtree, and later > r

Re: Order of functions in close_agentx_session

2006-11-03 Thread Josef Moellers
Dave Shield wrote: On 02/11/06, Josef Moellers <[EMAIL PROTECTED]> wrote: Can somebody explain to me why, in close_agentx_session(), part of the session infrastructure is taken down first (unregister_XXX_by_session()), and _then_ the requests are cleaned up, rather than the other way round?

Re: Order of functions in close_agentx_session

2006-11-03 Thread Josef Moellers
Dave Shield wrote: > On 02/11/06, Josef Moellers <[EMAIL PROTECTED]> wrote: > >> Can somebody explain to me why, in close_agentx_session(), part of the >> session infrastructure is taken down first >> (unregister_XXX_by_session()), and _then_ the requests are cleaned up, >> rather than the other w

Re: Order of functions in close_agentx_session

2006-11-02 Thread Dave Shield
On 02/11/06, Josef Moellers <[EMAIL PROTECTED]> wrote: > Can somebody explain to me why, in close_agentx_session(), part of the > session infrastructure is taken down first > (unregister_XXX_by_session()), and _then_ the requests are cleaned up, > rather than the other way round? Probably because