X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_graph.c;h=501db48da41e5e3d245a35dc205335a77572b930;hp=8c118682f5ecb32245b942e99e570722e2e5a7a1;hb=3a9760d1aea27a60cf558cf8998042acc455fd61;hpb=3d99d8360586a320cb4e349c0a3c5c2f13b4169c diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 8c11868..501db48 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -3450,6 +3450,9 @@ int gdes_alloc( im->gdes[im->gdes_c - 1].rpnp = NULL; im->gdes[im->gdes_c - 1].p_dashes = NULL; im->gdes[im->gdes_c - 1].shift = 0.0; + im->gdes[im->gdes_c - 1].dash = 0; + im->gdes[im->gdes_c - 1].ndash = 0; + im->gdes[im->gdes_c - 1].offset = 0; im->gdes[im->gdes_c - 1].col.red = 0.0; im->gdes[im->gdes_c - 1].col.green = 0.0; im->gdes[im->gdes_c - 1].col.blue = 0.0;