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

Commit eb3ffefb authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: npu: Fix memory leakage issue during loading network"

parents 5b7d9396 96b35933
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1284,6 +1284,7 @@ int32_t npu_host_load_network_v2(struct npu_client *client,


	load_ioctl->network_hdl = network->network_hdl;
	load_ioctl->network_hdl = network->network_hdl;
	network->is_active = true;
	network->is_active = true;
	kfree(load_packet);
	network_put(network);
	network_put(network);
	mutex_unlock(&host_ctx->lock);
	mutex_unlock(&host_ctx->lock);