summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-12-26 10:27:14 +0300
committerOded Gabbay <ogabbay@kernel.org>2020-12-30 00:23:12 +0300
commitb000700d6db50c933ce8b661154e26cf4ad06dba (patch)
treefd0d09aef76a841985c775e37fdde209f14455fd /net/unix/af_unix.c
parent097c62b6f0ec2bdadf86afbe80df03856338724d (diff)
downloadlinux-b000700d6db50c933ce8b661154e26cf4ad06dba.tar.xz
habanalabs: Fix memleak in hl_device_reset
When kzalloc() fails, we should execute hl_mmu_fini() to release the MMU module. It's the same when hl_ctx_init() fails. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions