diff --git a/src/rrd_xport.c b/src/rrd_xport.c
index 09ea659cfaa68fe4393ba0bb3c2881414add6534..f1e7908a4e15dfbe61c689139dbb7079563df995 100644 (file)
--- a/src/rrd_xport.c
+++ b/src/rrd_xport.c
/****************************************************************************
- * RRDtool 1.2.22 Copyright by Tobi Oetiker, 1997-2007
+ * RRDtool 1.2.26 Copyright by Tobi Oetiker, 1997-2007
****************************************************************************
* rrd_xport.c export RRD data
****************************************************************************/
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);