xemu/qom
Paolo Bonzini b7f43fe460 qom: dynamic_cast of NULL is always NULL
Trying to cast a NULL value will cause a crash.  Returning
NULL is also sensible, and it is also what the type-unsafe
DO_UPCAST macro does.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-11-26 09:38:54 -06:00
..
container.c qom: Fix memory leak in function container_get 2012-05-03 07:04:48 +02:00
cpu.c qom: Introduce CPU class 2012-03-14 22:20:27 +01:00
Makefile.objs build: adapt qom/Makefile and move it to Makefile.objs 2012-06-07 09:21:12 +02:00
object.c qom: dynamic_cast of NULL is always NULL 2012-11-26 09:38:54 -06:00
qom-qobject.c qom: add QObject-based property get/set wrappers 2012-02-07 13:52:40 +01:00