Date: Sat, 08 Jan 2022 14:37:35 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261033] Memory leaks in mlx5_ib_gsi.c Message-ID: <bug-261033-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261033 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/b633e08c705fe43180567eae26923d6= f6f98c8d9/sys/dev/mlx5/mlx5_ib/mlx5_ib_gsi.c#L208-L244 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261033-227>