X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_info.c;h=3b5364a392e4de587cc2ae6bdb4c838494cc8c47;hb=f090c6d208157d252bf806fea2107b9e318424d4;hp=679b02402dfcfa8e68aa663d5459d201890eb0d6;hpb=a12627275ff8487174cbb907a066f62a00b6ae44;p=rrdtool.git diff --git a/src/rrd_info.c b/src/rrd_info.c index 679b024..3b5364a 100644 --- a/src/rrd_info.c +++ b/src/rrd_info.c @@ -146,6 +146,7 @@ rrd_info_t *rrd_info_r( enum cf_en current_cf; enum dst_en current_ds; + rrd_init(&rrd); rrd_file = rrd_open(filename, &rrd, RRD_READONLY); if (rrd_file == NULL) goto err_free;