Marc-André Lureau 425d8a4e70 chardev: unref if underlying chardev has no parent
It's possible to write code creating a chardev backend that is not
registered. When it is not user-created, it makes sense to keep it
hidden. Let the associated frontend destroy it also in this case.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2018-10-03 14:45:04 +04:00
..
2018-06-01 15:13:46 +02:00
2018-10-02 19:09:12 +02:00
2018-07-02 15:41:18 +02:00
2017-06-02 11:33:53 +04:00
2017-06-02 11:33:53 +04:00