Implemented refcounting to server.
* Node and rrset now must use new API for changing owner (*_set_owner()) * Every structure that stores pointer to dname must retain reference to it * Destructors in rrset now release all stored dnames, obsoletes parameters: free_owner * Destructor in rdata_deep_free has obsolete parameter: free_all_dnames * Fixed some direct data manipulation * Some code readability improvements * To do: * Reference counting in zparser is disabled for now, implement correctly. * Remove obsolete parameters. * Destructors should have no extra parameters. * Tested with server startup, querying and AXFR client/server Commit refs #993.
Showing with 265 additions and 61 deletions