summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXiaoke Wang <xkernel.wang@foxmail.com>2021-12-13 13:52:32 +0300
committerTakashi Iwai <tiwai@suse.de>2021-12-13 15:57:15 +0300
commit78977fd5b11cc90668c0dec6109d2f6572c9601c (patch)
treee084b43ad75778a3148d946c9206496c82994851 /tools/perf/scripts/python/export-to-postgresql.py
parent55b71f6c29f2a78af42dd453dfed895eba516cb4 (diff)
downloadlinux-78977fd5b11cc90668c0dec6109d2f6572c9601c.tar.xz
ALSA: sound/isa/gus: check the return value of kstrdup()
kstrdup() returns NULL when some internal memory errors happen, it is better to check the return value of it. Otherwise, we may not to be able to catch some memory errors in time. Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com> Link: https://lore.kernel.org/r/tencent_1E3950293AC22395ACFE99404C985D738309@qq.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions