From d01c9cb6d45a2d02be633b627e07852e98cad570 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Fri, 25 Nov 2022 06:20:55 +0000 Subject: [PATCH] [wsi] Free edid info after parsing --- src/wsi/wsi_edid.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }