X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=program%2Fsrc%2Frrd_dump.c;h=aa2488277aa6bbc51b095613dc1d25bc5d70b8e4;hb=05259f480ca5986cfd8e32eedb8cd094ca3aa9eb;hp=3f79a96ff7340463c58242cc02d3032d63d34f0a;hpb=50b4d44ba8e29401f44548a9751f52020f72d91d;p=rrdtool-all.git diff --git a/program/src/rrd_dump.c b/program/src/rrd_dump.c index 3f79a96f..aa248827 100644 --- a/program/src/rrd_dump.c +++ b/program/src/rrd_dump.c @@ -65,6 +65,7 @@ static int rrd_dump_opt_r( rrd_value_t value; struct tm tm; + rrd_init(&rrd); rrd_file = rrd_open(filename, &rrd, RRD_READONLY | RRD_READAHEAD); if (rrd_file == NULL) { rrd_free(&rrd);