From: oetiker Date: Mon, 22 Dec 2008 21:23:49 +0000 (+0000) Subject: should free memory after a successful fetch too ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=30412794da5ccdac222601b7417fc9fbb72558fe;p=rrdtool.git should free memory after a successful fetch too ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1721 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_fetch.c b/src/rrd_fetch.c index 8a0a3ec..23be6e0 100644 --- a/src/rrd_fetch.c +++ b/src/rrd_fetch.c @@ -467,6 +467,7 @@ int rrd_fetch_fn( } rrd_close(rrd_file); + rrd_free(&rrd); return (0); err_free_data: free(*data);