filter_kubernetes: fix memory leak on Pod record exclusion
@@ -480,6 +480,7 @@ static int cb_kube_filter(void *data, size_t bytes,
if (props.exclude == FLB_TRUE) {
*out_buf = NULL;
*out_bytes = 0;
+ flb_kube_meta_release(&meta);
flb_kube_prop_destroy(&props);
return FLB_FILTER_MODIFIED;
}
