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

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

Merge "msm: tspp: Fix memory leak"

parents 1e1facfd 6137ba9c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1712,6 +1712,8 @@ int tspp_close_channel(u32 dev, u32 channel_id)
	dma_free_coherent(NULL, config->desc.size, config->desc.base,
		config->desc.phys_base);

	sps_free_endpoint(channel->pipe);

	tspp_destroy_buffers(channel_id, channel);
	if (channel->dma_pool) {
		dma_pool_destroy(channel->dma_pool);