Dong Jia Shi 6238f92132 vfio: ccw: set ccw->cda to NULL defensively
Let's avoid free on ccw->cda that points to a guest address
or an already freed memory area by setting it to NULL if memory
allocation didn't happen or failed.

Signed-off-by: Dong Jia Shi <bjsdjshi@linux.ibm.com>
Message-Id: <20180523025645.8978-4-bjsdjshi@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2018-05-29 09:27:42 +02:00
..
2018-04-10 07:38:59 +02:00
2018-02-02 10:47:14 +01:00
2018-01-09 16:34:34 +01:00
2018-04-10 07:38:59 +02:00
2018-04-10 07:38:59 +02:00
2018-02-05 07:34:52 +01:00