summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba40496)
raw | patch | inline | side by side (parent: ba40496)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 19 Sep 2005 07:42:17 +0000 (07:42 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 19 Sep 2005 07:42:17 +0000 (07:42 +0000) |
program/src/rrd_restore.c | patch | blob | history |
index 26bbab5b4c24c3e84f687715b2c5d31ea350fd2d..68923b54f31b279edfdf59ca93c19890878bbd1d 100644 (file)
{
rrd_set_error("Incompatible file version, detected version %s is bigger than supported version %s\n",
rrd -> stat_head -> version, RRD_VERSION );
- free(rrd -> stat_head);
return -1;
}
if (atoi(rrd -> stat_head -> version) < 2)
{
rrd_set_error("Can only restore version >= 2 (Not %s). Dump your old rrd using a current rrdtool dump.", rrd -> stat_head -> version );
- free(rrd -> stat_head);
return -1;
}
rrd->stat_head->float_cookie = FLOAT_COOKIE;