summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 42ca024)
raw | patch | inline | side by side (parent: 42ca024)
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) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1724 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_cgi.c | patch | blob | history |
diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c
index 6b1cf36dae58059440df5965b35d508d3c1c00c4..9f0a0bd879afe822e28e9ec759a782955a597bda 100644 (file)
--- a/src/rrd_cgi.c
+++ b/src/rrd_cgi.c
if (calcpr) {
free(calcpr);
}
+ calcpr=NULL;
}
}
char *err = malloc((strlen(rrd_get_error())+DS_NAM_SIZE)*sizeof(char));
sprintf(err, "[ERROR: %s]",rrd_get_error());
rrd_clear_error();
- calfree();
return err;
}
}