Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239401

Re: [PATCH] amd-xgbe: fix potential memory leak in xgbe-debugfs

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] amd-xgbe: fix potential memory leak in xgbe-debugfs
Date 2015-10-05 12:00 +0200
Message-ID <qgaIP-3Ld-23@gated-at.bofh.it> (permalink)
References <qen7t-2yO-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Geliang Tang <geliangtang@163.com>
Date: Wed, 30 Sep 2015 03:48:50 -0700

> Added kfree() to avoid the memory leak when debugfs_create_dir() fails.
> 
> Signed-off-by: Geliang Tang <geliangtang@163.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] amd-xgbe: fix potential memory leak in xgbe-debugfs Geliang Tang <geliangtang@163.com> - 2015-09-30 12:50 +0200
  Re: [PATCH] amd-xgbe: fix potential memory leak in xgbe-debugfs David Miller <davem@davemloft.net> - 2015-10-05 12:00 +0200

csiph-web