From b7554f90359f2d70c4ac878451c08becacfc6025 Mon Sep 17 00:00:00 2001 From: Adam Madsen Date: Sun, 1 Nov 2020 19:17:30 -0600 Subject: [PATCH] Free mutex --- src/amd/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/common.c b/src/amd/common.c index 24fe28d..f14c119 100644 --- a/src/amd/common.c +++ b/src/amd/common.c @@ -83,6 +83,7 @@ int amd_common_post_reset(struct vendor_reset_dev *dev) kzfree(priv); dev->vendor_private = NULL; + mutex_destroy(&priv->smu_lock); return 0; }