summaryrefslogtreecommitdiff
path: root/net/smc/smc_cdc.c
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2020-07-23 09:17:57 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2020-07-24 20:40:06 +0300
commit94f8be9eb065412cf069efd45053d33e8911fa9e (patch)
tree2b88c58c6b58310d8520be8c678400ce12b11a72 /net/smc/smc_cdc.c
parent644883ef1aa53af1efecf3f84df9951c448b876b (diff)
downloadlinux-94f8be9eb065412cf069efd45053d33e8911fa9e.tar.xz
habanalabs: Fix memory leak in error flow of context initialization
Add a missing free of the cs_pending array in the error flow of context initialization. Fixes: c16d45f42b64 ("habanalabs: Use pending CS amount per ASIC") Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'net/smc/smc_cdc.c')
0 files changed, 0 insertions, 0 deletions