[PATCH v2] accel/qaic: Fix slicing memory leak
Jeffrey Hugo
quic_jhugo at quicinc.com
Tue Aug 15 15:55:03 UTC 2023
On 8/2/2023 8:59 AM, Jeffrey Hugo wrote:
> From: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy at quicinc.com>
>
> 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 at quicinc.com>
> Reviewed-by: Carl Vanderlip <quic_carlv at quicinc.com>
> Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>
> Signed-off-by: Jeffrey Hugo <quic_jhugo at quicinc.com>
Pushed to drm-misc-fixes.
-Jeff
More information about the dri-devel
mailing list