From c1f3bef2e9dc7e7e9088d1601817e390435e7a26 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 22 Dec 2008 21:23:49 +0000 Subject: [PATCH] should free memory after a successful fetch too ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1721 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_fetch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/program/src/rrd_fetch.c b/program/src/rrd_fetch.c index 8a0a3ec1..23be6e03 100644 --- a/program/src/rrd_fetch.c +++ b/program/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); -- 2.30.2