habanalabs: free signal handle on failure
authorOded Gabbay <ogabbay@kernel.org>
Tue, 30 Nov 2021 12:54:53 +0000 (14:54 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:08 +0000 (08:59 +0200)
commitfee187fe460b6b72a62e7d7b7193f8d675752544
treef9acb1c41b14f73ee58c4b2c5cfde5d3df9e3296
parentb166465452ac27415bc747c4c47c96d1314d06f1
habanalabs: free signal handle on failure

Fix a bug where in case of failure to allocate idr, the handle's
memory wasn't freed as part of the error handling code.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c