Parent: 73bce2208627042bbc698715d00e99f0501f3258
Author: Aravind Machiry <machiry@cs.ucsb.edu>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-10-08 01:56:21
Tree: 85c62107f96252db2a3fe0e85443c0160afdecc0
lib: Replace malloc/memset(..0..) with bt_malloc0 This patch replaces various instances of malloc and subsequent memset(..,0,..) with bt_malloc0 (i.e., calloc) for efficiency.
Diffstat
| M | lib/bluetooth.c | | | 5 | +++++ |
| M | lib/bluetooth.h | | | 1 | + |
| M | lib/sdp.c | | | 36 | ++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - |
3 files changed, 18 insertions(+), 24 deletions(-)