char: Detect chardev release by NULL handlers as well as NULL opaque
authorAmit Shah <amit.shah@redhat.com>
Mon, 25 Apr 2011 09:48:22 +0000 (15:18 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 28 Apr 2011 05:41:04 +0000 (11:11 +0530)
commit704fe4965c8c72d7309c7408111dfaca8900edf9
tree9462a05191b4029335eb8ba3afec538a0ac299ba
parentee1d27429caadbd6e89b4c4b7e9fa5c06014ea7f
char: Detect chardev release by NULL handlers as well as NULL opaque

Juan says he prefers these extra checks to ensure a user of a chardev is
releasing it.

Requested-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
qemu-char.c