projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
for now, do not release fetched data ... in the future we may call rrd_dontneed and...
[rrdtool.git]
/
src
/
rrd_resize.c
diff --git
a/src/rrd_resize.c
b/src/rrd_resize.c
index
9dcfcca
..
c45ec14
100644
(file)
--- a/
src/rrd_resize.c
+++ b/
src/rrd_resize.c
@@
-82,6
+82,7
@@
int rrd_resize(
return (-1);
}
/* the size of the new file */
+ /* yes we are abusing the float cookie for this, aargh */
if ((rrdnew.stat_head = calloc(1, sizeof(stat_head_t))) == NULL) {
rrd_set_error("allocating stat_head for new RRD");
rrd_free(&rrdold);