summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17897f0)
raw | patch | inline | side by side (parent: 17897f0)
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) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1176 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_xport.c | patch | blob | history |
diff --git a/src/rrd_xport.c b/src/rrd_xport.c
index ef964a039ad24eb3733480549d48110621658980..618464cc37e8581bc01c3d59b0cd9c1189ab5a24 100644 (file)
--- a/src/rrd_xport.c
+++ b/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);