The free() and g_free() functions both happily accept NULL on any platform QEMU builds on. As such putting a conditional 'if (foo)' check before calls to 'free(foo)' merely serves to bloat the lines of code. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> |
||
|---|---|---|
| .. | ||
| qmp-norocker.c | ||
| rocker.c | ||
| rocker.h | ||
| rocker_desc.c | ||
| rocker_desc.h | ||
| rocker_fp.c | ||
| rocker_fp.h | ||
| rocker_hw.h | ||
| rocker_of_dpa.c | ||
| rocker_of_dpa.h | ||
| rocker_tlv.h | ||
| rocker_world.c | ||
| rocker_world.h | ||