qemu-e2k/hw/bt
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
..
core.c Preparation for usb-bt-dongle conditional build 2013-09-10 11:14:41 +02:00
hci-csr.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
hci.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
hid.c
l2cap.c l2cap: fix access to freed memory 2014-08-15 19:12:48 +04:00
Makefile.objs
sdp.c bt-sdp: fix broken uuids power-of-2 calculation 2015-04-28 15:36:08 +02:00