diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-01-05 15:53:35 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-01-05 15:53:35 -0800 |
commit | 710220f861b100856711a0a4d4a852874228a57a (patch) | |
tree | 2fcca5e11209f8094a394f9b4594f777233ce049 /profiles | |
parent | 4a00535fa3b3f8309cf38f53b92e0a4dd7333eee (diff) | |
download | bluez-710220f861b100856711a0a4d4a852874228a57a.tar.gz |
shared/util: Rename btd_malloc to util_malloc
util functions are not limited to daemon only which is normally the case
when using btd prefix.
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/audio/avdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index d3dfbf96d..f2b461330 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -1333,7 +1333,7 @@ static GSList *caps_to_list(uint8_t *data, size_t size, break; } - cpy = btd_malloc(sizeof(*cpy) + cap->length); + cpy = util_malloc(sizeof(*cpy) + cap->length); memcpy(cpy, cap, sizeof(*cap) + cap->length); size -= sizeof(*cap) + cap->length; |