From 19dc6a7c14d01452fff920e60644520c2a98996e Mon Sep 17 00:00:00 2001 From: Thomas Gambier Date: Tue, 6 Mar 2018 15:10:23 +0100 Subject: [PATCH] Fix rrdtool.graph python binding It was failing with 'munmap_chunk(): invalid pointer' error in python 3.6.3 --- bindings/python/rrdtoolmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/rrdtoolmodule.c b/bindings/python/rrdtoolmodule.c index eeefb581..9a11945d 100644 --- a/bindings/python/rrdtoolmodule.c +++ b/bindings/python/rrdtoolmodule.c @@ -595,7 +595,7 @@ _rrdtool_graph(PyObject *Py_UNUSED(self), PyObject *args) PyObject *ret; int xsize, ysize, i, status; double ymin, ymax; - char **calcpr; + char **calcpr = NULL; if (convert_args("graph", args, &rrdtool_argv, &rrdtool_argc) == -1) return NULL; -- 2.47.2