Yuval Shaia a1aa88b7dc hw/rdma: Verify that ptr is not NULL before freeing
To cover the case where fini() was called even when init() fails make
sure objects are not NULL before calling to non-null-safe destructors.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190116151538.14088-1-yuval.shaia@oracle.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
2019-01-19 10:54:37 +02:00
..
2019-01-17 21:10:57 -05:00
2019-01-07 15:23:45 +00:00
2018-10-24 06:44:59 -03:00
2019-01-11 11:45:00 +01:00
2019-01-14 19:31:04 -05:00
2016-01-29 15:07:25 +00:00
2019-01-11 15:46:55 +01:00