aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-07-11 20:00:19 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2018-10-03 14:45:04 +0400
commit425d8a4e70f3946ac649925c4e3211906371ca6d (patch)
tree13010b144fa54cc4a9eeb67d9420ff3ef89ecfdb /gdbstub.c
parent43182856c5a576f5db5f40768972a19f187a789e (diff)
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>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions