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)
commiteade40afcae2ae17215018612bc27d646a64c012
treec87c78ceb2b5e9c0304e26c194cf2582ef733785
parent334cedc9d02a5cf4617facb78b3edee3ee609864
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@1655 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_daemon.c