Linux-RDMA Archive on
 help / color / Atom feed
From: Dennis Dalessandro <>
To: Wenwen Wang <>
Cc: Mike Marciniszyn <>,
	Doug Ledford <>,
	Jason Gunthorpe <>,
	"open list:HFI1 DRIVER" <>,
	open list <>
Subject: Re: [PATCH] infiniband: hfi1: fix memory leaks
Date: Mon, 19 Aug 2019 09:11:29 -0400
Message-ID: <> (raw)
In-Reply-To: <>

On 8/18/2019 2:54 PM, Wenwen Wang wrote:
> In fault_opcodes_write(), 'data' is allocated through kcalloc(). However,
> it is not deallocated in the following execution if an error occurs,
> leading to memory leaks. To fix this issue, introduce the 'free_data' label
> to free 'data' before returning the error.
> Signed-off-by: Wenwen Wang <>

Acked-by: Dennis Dalessandro <>

  parent reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-18 18:54 Wenwen Wang
2019-08-19 12:03 ` Leon Romanovsky
2019-08-19 13:11 ` Dennis Dalessandro [this message]
2019-08-20 17:26 ` Doug Ledford

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-RDMA Archive on

Archives are clonable:
	git clone --mirror linux-rdma/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rdma linux-rdma/ \
	public-inbox-index linux-rdma

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone