On Thu, 20.12.07 09:06, Arhold ([EMAIL PROTECTED]) wrote: > Hi Lennart,
Hi! > Thanks for your reply. It's very helpful. > > I think our case belongs to the exceptions where the constant monitoring is > neccessory. So we will need to keep AvahiServiceResolver around. > > My further question is, when will the AvahiServiceResolver be free. Do I > need to release the resolver somewhere in my application or avahi itself > will manage those resolvers? We don't do automatic memory management, this is not Java or Python or anything ;-) You should always free your own resources, however the final avahi_client_free() will also free all attached objects, like browsers, resolvers, entry groups. Freeing the client will do the big clean up. OTOH this means that you are not supposed to use any of the attached objects after calling avahi_client_free()! Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4 _______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
