Re: unregistering handlers

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Sun, Oct 17, 2010 at 4:52 PM, Leo Cacciari <[email protected]>wrote:

> [ ... ]
>
> Calling netsnmp_handler_registration_free from
> netsnmp_unregister_handler can be, as I stated, either a bug or a
> feature, but in any case I think it should be advertised in the
> documentation. Anyhow, this answer my own question: yes, unregistering
> handlers is enough for avoiding memory leaks (at least those related to
> surviving handler registration structures).
>

As far as I know this is the intended behavior. But you are right, this
should be documented. I'll have a look at documenting this on the trunk
(which will become version 5.7 ?).

Bart.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.