projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba272d
)
drm/amdgpu: fix mem leak in smumgr
author
Monk Liu
<Monk.Liu@amd.com>
Fri, 27 May 2016 09:52:58 +0000
(17:52 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 9 Jun 2016 14:49:02 +0000
(10:49 -0400)
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c
b/drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c
index c483baf6b4fbc9bb8b76d293c772f727631c0726..0728c1e3d97a0137baf07466df1964a67f028b8e 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c
+++ b/
drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c
@@
-81,6
+81,7
@@
int smum_init(struct amd_pp_init *pp_init, struct pp_instance *handle)
int smum_fini(struct pp_smumgr *smumgr)
{
+ kfree(smumgr->device);
kfree(smumgr);
return 0;
}