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, 10 Jun 2015 21:14:59 +0000 (21:14 +0000)
commiteae61663a5c44f2a5757ae3df80cbc3b97fa6d60
treeec2b1cee2ece38062efdee88b5a8fbe20b41158c
parentcf8fb474b12660ee799ded5b60e4654c8f3ffe13
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