diff options
author | Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com> | 2023-08-02 08:59:37 -0600 |
---|---|---|
committer | Jeffrey Hugo <quic_jhugo@quicinc.com> | 2023-08-15 09:50:07 -0600 |
commit | 2d956177b7c96e62fac762a3b7da4318cde27a73 (patch) | |
tree | 32d71f9e9e6dcde4c473b5ac237ab1c481a7d67b /drivers/reset | |
parent | e8470c0a7bcaa82f78ad34282d662dd7bd9630c2 (diff) |
accel/qaic: Fix slicing memory leak
The temporary buffer storing slicing configuration data from user is only
freed on error. This is a memory leak. Free the buffer unconditionally.
Fixes: ff13be830333 ("accel/qaic: Add datapath")
Signed-off-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230802145937.14827-1-quic_jhugo@quicinc.com
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions