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

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

Merge "msm: ADSPRPC: Fix memory leak for remote heap"

parents f0103b23 739fffd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -446,7 +446,7 @@ static void fastrpc_mmap_free(struct fastrpc_mmap *map)
	if (map->flags == ADSP_MMAP_HEAP_ADDR) {
		DEFINE_DMA_ATTRS(attrs);

		if (me->dev != NULL) {
		if (me->dev == NULL) {
			pr_err("failed to free remote heap allocation\n");
			return;
		}