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

From: David Miller
Date: Mon Oct 05 2015 - 05:50:51 EST


From: Geliang Tang <geliangtang@xxxxxxx>
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@xxxxxxx>

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