qemu/bsd-user
Daniel P. Berrange ef1e1e0782 maint: avoid useless "if (foo) free(foo)" pattern
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>
2015-09-11 10:21:38 +03:00
..
freebsd bsd-user: Fix syscall format, add strace support for more syscalls 2014-06-11 00:25:06 +01:00
i386
netbsd
openbsd
sparc
sparc64
x86_64
bsd-mman.h
bsdload.c Revert "bsd-user: replace fprintf(stderr, ...) with error_report()" 2014-06-02 13:26:59 +01:00
elfload.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
errno_defs.h
main.c linux-user: remove --enable-guest-base/--disable-guest-base 2015-08-24 11:14:17 -07:00
Makefile.objs
mmap.c bsd-user/mmap.c: Don't try to override g_malloc/g_free 2014-06-11 00:25:06 +01:00
qemu.h linux-user: remove --enable-guest-base/--disable-guest-base 2015-08-24 11:14:17 -07:00
signal.c maint: remove unused include for signal.h 2015-09-11 10:21:38 +03:00
strace.c bsd-user: Implement strace support for print_ioctl syscall 2014-06-11 00:25:06 +01:00
syscall_defs.h
syscall.c bsd-user: OS-agnostic 64-bit SYSCTL types 2013-05-12 13:25:55 +04:00
uaccess.c