Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4af98252 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "firmware_class: Avoid memory leak when FW_OPT_NOCACHE is set"

parents e3a07a21 6ab21974
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -295,6 +295,7 @@ static void fw_free_buf(struct firmware_buf *buf)
{
	struct firmware_cache *fwc = buf->fwc;
	if (!fwc) {
		kfree_const(buf->fw_id);
		kfree(buf);
		return;
	}