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