X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_xport.c;h=5ee0fdfb1daa51174bb3fc825293884bdbf0ef58;hb=f0a0cb7901538324a33a106ea4762f2ada88970b;hp=aecd7f373bd483f77495dbf38cb075344bcbc3a9;hpb=9584450afaaba1686d2b27b6436743339737a789;p=rrdtool.git diff --git a/src/rrd_xport.c b/src/rrd_xport.c index aecd7f3..5ee0fdf 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -65,6 +65,7 @@ int rrd_xport( {"maxrows", required_argument, 0, 'm'}, {"step", required_argument, 0, 261}, {"enumds", no_argument, 0, 262}, /* these are handled in the frontend ... */ + {"json", no_argument, 0, 263}, /* these are handled in the frontend ... */ {"daemon", required_argument, 0, 'd'}, {0, 0, 0, 0} }; @@ -263,6 +264,7 @@ int rrd_xport_fn( while (--j > -1) free(legend_list[j]); free(legend_list); + free(step_list); rrd_set_error("malloc xport legend entry"); return (-1); }