summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4b5ac7a)
raw | patch | inline | side by side (parent: 4b5ac7a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 6 Jan 2009 14:54:41 +0000 (14:54 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 6 Jan 2009 14:54:41 +0000 (14:54 +0000) |
program/src/rrd_cgi.c | patch | blob | history |
diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c
index b5355410e364aef0c5de1582a210ad1100a618c1..13b7d067b59adfa4da2ed46fd71b226b5117dc62 100644 (file)
--- a/program/src/rrd_cgi.c
+++ b/program/src/rrd_cgi.c
if (calcpr) {
free(calcpr);
}
+ calcpr = NULL;
}
}
DS_NAM_SIZE) * sizeof(char));
sprintf(err, "[ERROR: %s]", rrd_get_error());
rrd_clear_error();
- calfree();
return err;
}
}