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

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

Merge "ion: fix an incorrect pointer dereference"

parents 49320522 e53c3113
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1089,7 +1089,7 @@ struct dma_buf *ion_alloc_dmabuf(size_t len, unsigned int heap_id_mask,
	dmabuf = dma_buf_export(&exp_info);
	if (IS_ERR(dmabuf)) {
		_ion_buffer_destroy(buffer);
		kfree(dmabuf->exp_name);
		kfree(exp_info.exp_name);
	}

	return dmabuf;