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

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

Merge "msm: vidc: Check ion_handle for errors"

parents ade6f450 0dc00b42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -475,7 +475,7 @@ bool msm_smem_compare_buffers(void *clt, int fd, void *priv)
	}
	handle = ion_import_dma_buf(client->clnt, fd);
	ret = handle == priv;
	handle ? ion_free(client->clnt, handle) : 0;
	(!IS_ERR_OR_NULL(handle)) ? ion_free(client->clnt, handle) : 0;
	return ret;
}