diff --git a/src/wsi/wsi_edid.cpp b/src/wsi/wsi_edid.cpp index 01741b91c..792f19aac 100644 --- a/src/wsi/wsi_edid.cpp +++ b/src/wsi/wsi_edid.cpp @@ -66,6 +66,8 @@ namespace dxvk::wsi { colorimetry && colorimetry->bt2020_rgb && hdr_static_metadata && hdr_static_metadata->eotfs && hdr_static_metadata->eotfs->pq; + di_info_destroy(info); + return metadata; }