diff options
| author | chenzizhan <[email protected]> | 2023-10-18 17:21:08 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-10-18 17:21:08 +0800 |
| commit | 4cb4ebc098772e4dc9e56b2b12abd660182e7877 (patch) | |
| tree | 3f415ad04d7c754fa1f4ee89b1e80e3f9df5c84e /src/exporter | |
| parent | d45698e32ee38b6bba494bd5b4bacc5733a7ae27 (diff) | |
fix a bug when tagstring value very long
Diffstat (limited to 'src/exporter')
| -rw-r--r-- | src/exporter/cjson_exporter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exporter/cjson_exporter.c b/src/exporter/cjson_exporter.c index bfd2bdc..47709f8 100644 --- a/src/exporter/cjson_exporter.c +++ b/src/exporter/cjson_exporter.c @@ -441,6 +441,7 @@ int cell_iter_next_cube(struct cell_iter *iter) { fieldstat_get_cells_used_by_cube(instance, cube_id_next, &iter->tag_list, &iter->n_cell); if (iter->n_cell == 0) { free(iter->metric_ids); + iter->metric_ids = NULL; continue; } |
