commit | 94f8be9eb065412cf069efd45053d33e8911fa9e | [log] [tgz] |
---|---|---|
author | Tomer Tayar <ttayar@habana.ai> | Thu Jul 23 09:17:57 2020 +0300 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Fri Jul 24 20:40:06 2020 +0300 |
tree | 2b88c58c6b58310d8520be8c678400ce12b11a72 | |
parent | 644883ef1aa53af1efecf3f84df9951c448b876b [diff] |
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>