bin: destroy json helper after usage
@@ -342,6 +342,7 @@ static void help_format_json(void *help_buf, size_t help_size)
json = flb_msgpack_raw_to_json_sds(help_buf, help_size);
printf("%s\n", json);
+ flb_sds_destroy(json);
}
static void help_format_text(void *help_buf, size_t help_size)
