Code

rrdcached now frees all of its resources correctly. This facilitates
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 8 Nov 2008 17:57:32 +0000 (17:57 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 8 Nov 2008 17:57:32 +0000 (17:57 +0000)
commit890c744b7c09bc9959f1588ec9eaa838f8225169
tree6ac1b599f7bebf6d5328a5244edab3c94698c003
parent1b49fb240828c4fd668cd5cecc57feed5c693ba0
rrdcached now frees all of its resources correctly.  This facilitates
memory debugging.  g_tree now knows how to free the nodes when it removes
them.

Also, use g_tree_replace instead of g_tree_insert.  This fixes a bug
triggered when the same file was simultaneously inserted by two clients.

--kevin

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1655 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_daemon.c