out_s3: add back flb_sds_destroy() lost in
Fixes the memory loss incurred without it.
Fixes
@@ -1569,6 +1569,7 @@ static int send_upload_request(void *out_context, flb_sds_t chunk,
/* Create buffer to upload to S3 */
ret = construct_request_buffer(ctx, chunk, upload_file, &buffer, &buffer_size);
+ flb_sds_destroy(chunk);
if (ret < 0) {
flb_plg_error(ctx->ins, "Could not construct request buffer for %s",
upload_file->file_path);
