OSDN Git Service

Replace malloc/calloc/free with osi_malloc/osi_calloc/osi_free
authorPavlin Radoslavov <pavlin@google.com>
Tue, 2 Jun 2015 20:54:58 +0000 (13:54 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 3 Jun 2015 00:14:57 +0000 (00:14 +0000)
commit56a3be0d6eaa1bc264736e399fb32d3094f0b513
treec5ff3597e0c93e4eb0ad483d8e156e26985fecb3
parent1b0f107768ba1a0f93abf68851bacbe650f27eff
Replace malloc/calloc/free with osi_malloc/osi_calloc/osi_free

There were several leftover places that were still using
malloc/calloc/free .
Those are replaced to use osi_malloc/osi_calloc/osi_free like
majority of the rest of the code.

Note: There are few remaining places that are still using
malloc/calloc/free:
 * Some of the unit tests
 * audio_a2dp_hw/audio_a2dp_hw.c
   It is used as part of the audio.a2dp.default.so library,
   and the bluetooth.default.so library
   Its usage of malloc/calloc/free should be refactored
   independently.

Change-Id: Iafbed996e5f1ae8eb1343fb2acfadf32e515e419
bta/av/bta_av_act.c
bta/jv/bta_jv_act.c
bta/sdp/bta_sdp_act.c
btif/src/btif_config.c
btif/src/btif_sdp_server.c
btif/src/btif_sock_l2cap.c
btif/src/btif_sock_sco.c
btif/src/btif_storage.c
gki/common/gki_buffer.c
stack/avrc/avrc_api.c