[Bug 264653] IB/mlx5: Fix memory leak in clean_mr error path

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Jun 2022 06:37:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264653

            Bug ID: 264653
           Summary: IB/mlx5: Fix memory leak in clean_mr error path
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: xiaohuizhang@ruc.edu.cn

Created attachment 234660
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234660&action=edit
a possible patch

In clean_mr error path the 'mr' should be freed.

-- 
You are receiving this mail because:
You are the assignee for the bug.