Unverified Commit daff1cbf authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!9095 [sync] PR-8747: dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA

parents 1208c63e 342221f8
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -514,7 +514,7 @@ static struct fsl_qdma_queue
			queue_temp = queue_head + i + (j * queue_num);

			queue_temp->cq =
			dma_alloc_coherent(&pdev->dev,
			dmam_alloc_coherent(&pdev->dev,
					    sizeof(struct fsl_qdma_format) *
					    queue_size[i],
					    &queue_temp->bus_addr,