diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2013-03-18 21:01:37 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2013-03-26 21:00:45 +0200 |
| commit | e998fa8df828ef68ea540a12917d10b4d335c1dd (patch) | |
| tree | 0e5c1f751a8a63bfab8a9a33a3b27a8c41ecca02 /hw/qdev.c | |
| parent | 0402a5d65ec004df5345d1f736e2ddaa7aee6665 (diff) | |
| download | focaccia-qemu-e998fa8df828ef68ea540a12917d10b4d335c1dd.tar.gz focaccia-qemu-e998fa8df828ef68ea540a12917d10b4d335c1dd.zip | |
qom: call class destructor before unparent
It seems more logical to have destruction flow start with the subclass and move up to the base class. This ensures object has a valid canonical path when destructor is called. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions