Skip to content
Commit 9a2e849f authored by Hanjun Guo's avatar Hanjun Guo Committed by Rafael J. Wysocki
Browse files

ACPI: configfs: Add missing config_item_put() to fix refcount leak



config_item_put() should be called in the drop_item callback, to
decrement refcount for the config item.

Fixes: 772bf1e2 ("ACPI: configfs: Unload SSDT on configfs entry removal")
Signed-off-by: default avatarHanjun Guo <guohanjun@huawei.com>
[ rjw: Subject edit ]
Cc: 4.13+ <stable@vger.kernel.org> # 4.13+
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ba4f184e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment