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

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

Merge "qseecom : Clear client handle after unmap the resources"

parents ffd4b2b8 89bf4e36
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2530,7 +2530,8 @@ static int qseecom_unmap_ion_allocated_memory(struct qseecom_dev_handle *data)
	if (!IS_ERR_OR_NULL(data->client.ihandle)) {
		ion_unmap_kernel(qseecom.ion_clnt, data->client.ihandle);
		ion_free(qseecom.ion_clnt, data->client.ihandle);
		data->client.ihandle = NULL;
		memset((void *)&data->client,
			0, sizeof(struct qseecom_client_handle));
	}
	return ret;
}