[Bug 261033] Memory leaks in mlx5_ib_gsi.c

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Jan 2022 14:37:35 UTC

            Bug ID: 261033
           Summary: Memory leaks in mlx5_ib_gsi.c
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ryancaicse@gmail.com

In method mlx5_ib_gsi_destroy_qp, the ib_free_cq(gsi->cq);
kfree(gsi->outstanding_wrs); kfree(gsi->tx_qps); kfree(gsi); should be put
before Line 224 to prevent memory leaks?


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