summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b284813)
raw | patch | inline | side by side (parent: b284813)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 1 Aug 2007 15:25:58 +0000 (15:25 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 1 Aug 2007 15:25:58 +0000 (15:25 +0000) |
program/src/rrd_xport.c | patch | blob | history |
index ef964a039ad24eb3733480549d48110621658980..618464cc37e8581bc01c3d59b0cd9c1189ab5a24 100644 (file)
--- a/program/src/rrd_xport.c
+++ b/program/src/rrd_xport.c
unsigned long nof_xports = 0;
unsigned long xport_counter = 0;
- unsigned long *ref_list;
+ int *ref_list;
rrd_value_t **srcptr_list;
char **legend_list;
int ii = 0;
if (((*data) = malloc((*col_cnt) * row_cnt * sizeof(rrd_value_t)))==NULL){
free(srcptr_list);
free(ref_list);
- free(legend_list);
- rrd_set_error("malloc xport data area");
+ free(legend_list);
+ rrd_set_error("malloc xport data area");
return(-1);
}
dstptr = (*data);