drm/amd/pm: fix a potential gpu_metrics_table memory leak
authorjsg <jsg@openbsd.org>
Wed, 22 Dec 2021 12:30:38 +0000 (12:30 +0000)
committerjsg <jsg@openbsd.org>
Wed, 22 Dec 2021 12:30:38 +0000 (12:30 +0000)
commit71e308252aad8d92d6653da58bf2a8ffaa640832
tree65bdb87bdd609ee38a11330b314f151ecbaba7f1
parentb65dd5ea430c42ff24718ec08d7042e7d6a36029
drm/amd/pm: fix a potential gpu_metrics_table memory leak

From Lang Yu
222cebd995cdf11fe0d502749560f65e64990e55 in linux 5.10.y/5.10.88
aa464957f7e660abd554f2546a588f6533720e21 in mainline linux
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c