diff options
| author | Yangtao Li <[email protected]> | 2019-01-19 11:04:54 -0500 |
|---|---|---|
| committer | MyungJoo Ham <[email protected]> | 2019-04-16 09:29:18 +0900 |
| commit | a9487917ba6728dd618ae6d418a7f2197f1b4592 (patch) | |
| tree | 8d2ba76caaeedfed1f4c9ebe6c320c706bd55a83 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 0d00a239f70fa52eb23837ffacf990f8404ecace (diff) | |
PM / devfreq: fix mem leak in devfreq_add_device()
'devfreq' is malloced in devfreq_add_device() and should be freed in
the error handling cases, otherwise it will cause memory leak.
Signed-off-by: Yangtao Li <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions