[Bug 261033] Memory leaks in mlx5_ib_gsi.c
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261033] Memory leaks in mlx5_ib_gsi.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261033] Memory leaks in mlx5_ib_gsi.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261033] Memory leaks in mlx5_ib_gsi.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261033] Memory leaks in mlx5_ib_gsi.c"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Jan 2022 14:37:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261033 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? Location: https://github.com/freebsd/freebsd-src/blob/b633e08c705fe43180567eae26923d6f6f98c8d9/sys/dev/mlx5/mlx5_ib/mlx5_ib_gsi.c#L208-L244 -- You are receiving this mail because: You are the assignee for the bug.