https://github.com/torvalds/linux
Revision b67a468a4ccef593cd8df6a02ba3d167b77f0c81 authored by Dinghao Liu on 26 August 2020, 13:24:58 UTC, committed by Alex Deucher on 26 August 2020, 19:45:52 UTC
When amdgpu_display_modeset_create_props() fails, state and
state->context should be freed to prevent memleak. It's the
same when amdgpu_dm_audio_init() fails.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 82dff83
History
Tip revision: b67a468a4ccef593cd8df6a02ba3d167b77f0c81 authored by Dinghao Liu on 26 August 2020, 13:24:58 UTC
drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init
Tip revision: b67a468
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 16.9 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 555.8 KB
Makefile -rw-r--r-- 61.8 KB
README -rw-r--r-- 727 bytes

README

back to top