]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Try to handle freeing of mmapped and malloced rrd_t objects transparently
authorPeter Stamfest <peter@stamfest.at>
Wed, 12 Mar 2014 16:39:13 +0000 (17:39 +0100)
committerPeter Stamfest <peter@stamfest.at>
Fri, 14 Mar 2014 06:35:04 +0000 (07:35 +0100)
commit1c42e106da2bd6e0ef2e3a27a12afc6b62b6b612
tree0ab54aed33b9aa988e35b9fadcecc65c50396bae
parent458c1e867a4a28ab7c53eccd437ebc37bdfac82d
Try to handle freeing of mmapped and malloced rrd_t objects transparently

This IS rather hackish - an OO inspired approach might be better, but adding
knowledge about mmapped memory to the free path even allows mixed
mmapped/malloced objects
src/rrd_format.h
src/rrd_open.c