gecko-dev/dom/bluetooth/bluedroid
Nathan Froyd 199217336c Bug 1224240 - fix memory leak in Bluetooth*Manager::CompareHeaderTarget; r=btian
ObexHeaderSet::GetTarget copies the data associated with the
ObexHeaderId::Target id into a newly-allocated buffer.  All callers of
this function, however, fail to free the buffer once they are done with it.

Instead of simply freeing the buffer in the caller, however, let's add
an API to ObexHeaderSet that gives direct access to the desired header.
Doing this means that we have direct access to the data--no copying
necessary--and we also make the caller slightly faster, since it no
longer has to verify that the appropriate header is there, followed by
re-searching for the header it already knows is there.
2015-11-04 10:42:01 -05:00
..
hfp Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
hfp-fallback Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
BluetoothA2dpManager.cpp Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
BluetoothA2dpManager.h Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
BluetoothAvrcpManager.cpp Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
BluetoothAvrcpManager.h Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
BluetoothDaemonA2dpInterface.cpp Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
BluetoothDaemonA2dpInterface.h Bug 1211948: Register Bluetooth A2DP module in A2DP manager, r=brsun 2015-10-16 15:20:35 +02:00
BluetoothDaemonAvrcpInterface.cpp Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
BluetoothDaemonAvrcpInterface.h Bug 1211948: Register Bluetooth AVRCP module in AVRCP manager, r=brsun 2015-10-16 15:20:35 +02:00
BluetoothDaemonCoreInterface.cpp Bug 1223806: Add |BluetoothDaemonCoreInterface|, r=btian 2015-11-19 11:21:03 +01:00
BluetoothDaemonCoreInterface.h Bug 1223806: Add |BluetoothDaemonCoreInterface|, r=btian 2015-11-19 11:21:03 +01:00
BluetoothDaemonGattInterface.cpp Bug 1228521 - Fix PDU packing in |ServerSendResponseCmd| for GATT Server API. r=brsun 2015-11-30 20:23:04 +08:00
BluetoothDaemonGattInterface.h Bug 1211948: Register Bluetooth GATT module in GATT manager, r=joliu 2015-10-16 15:20:35 +02:00
BluetoothDaemonHandsfreeInterface.cpp Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
BluetoothDaemonHandsfreeInterface.h Bug 1211948: Register Bluetooth Handsfree module in Handsfree manager, r=btian 2015-10-16 15:20:35 +02:00
BluetoothDaemonHelpers.cpp Bug 1228521 - Fix PDU packing in |ServerSendResponseCmd| for GATT Server API. r=brsun 2015-11-30 20:23:04 +08:00
BluetoothDaemonHelpers.h Bug 1228521 - Fix PDU packing in |ServerSendResponseCmd| for GATT Server API. r=brsun 2015-11-30 20:23:04 +08:00
BluetoothDaemonInterface.cpp Bug 1223806: Convert Bluetooth to |BluetoothCoreInterface|, r=btian 2015-11-19 11:21:03 +01:00
BluetoothDaemonInterface.h Bug 1223806: Convert Bluetooth to |BluetoothCoreInterface|, r=btian 2015-11-19 11:21:03 +01:00
BluetoothDaemonSetupInterface.cpp Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
BluetoothDaemonSetupInterface.h Bug 1211948: Introduce |enum BluetoothSetupServiceId|, r=brsun 2015-10-16 15:20:35 +02:00
BluetoothDaemonSocketInterface.cpp Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
BluetoothDaemonSocketInterface.h Bug 1209469: Expose |BluetoothServiceName| in Bluetooth backend interface, r=brsun 2015-10-02 11:07:47 +02:00
BluetoothGattManager.cpp Bug 1228519 - Fix RequestReadNotification for GATT Server API. r=brsun 2015-11-30 20:24:07 +08:00
BluetoothGattManager.h Bug 1215525: Use strong typing in Bluetooth GATT mid-layer interfaces, r=joliu 2015-10-30 14:54:41 +01:00
BluetoothMapBMessage.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
BluetoothMapBMessage.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
BluetoothMapFolder.cpp Bug 1217339 - Fix illegal format of folder-listing object, r=btian 2015-10-23 22:21:09 +08:00
BluetoothMapFolder.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
BluetoothMapSmsManager.cpp Bug 1224240 - fix memory leak in Bluetooth*Manager::CompareHeaderTarget; r=btian 2015-11-04 10:42:01 -05:00
BluetoothMapSmsManager.h Bug 1226063 - take advantage of UniquePtr in BluetoothMapSmsManager::SendMasObexData; r=btian 2015-11-18 17:14:07 -05:00
BluetoothOppManager.cpp Bug 1221547 - part 2 - copy less data for file transfers over bluetooth; r=btian 2015-11-02 16:16:38 -05:00
BluetoothOppManager.h Bug 1221547 - part 2 - copy less data for file transfers over bluetooth; r=btian 2015-11-02 16:16:38 -05:00
BluetoothPbapManager.cpp Bug 1224240 - fix memory leak in Bluetooth*Manager::CompareHeaderTarget; r=btian 2015-11-04 10:42:01 -05:00
BluetoothPbapManager.h Bug 1168298 - Support OBEX authentication procedure, r=shuang, r=mrbkap 2015-11-10 11:34:11 +08:00
BluetoothServiceBluedroid.cpp Bug 1227440 - Reject pin reply by cancelling bond to trigger BondStateChangedNotification, in order to inform gaia setting app, r=shuang 2015-11-26 16:31:42 +08:00
BluetoothServiceBluedroid.h Bug 1227440 - Reject pin reply by cancelling bond to trigger BondStateChangedNotification, in order to inform gaia setting app, r=shuang 2015-11-26 16:31:42 +08:00
BluetoothSocket.cpp Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
BluetoothSocket.h Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
BluetoothSocketMessageWatcher.cpp Bug 1216195 - use mozilla/Endian.h facilities in bluetooth code; r=btian 2015-09-18 19:36:05 -04:00
BluetoothSocketMessageWatcher.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00