Comment # 172
on bug 8416
from Pascal Quantin
(In reply to comment #167)
> Created attachment 10385 [details]
> [PATCH 2] Bluetooth: Cleanup last part of Bluetooth dissectors
Both patches applied in r48414. Note that the following hunk was rejected:
--- epan/dissectors/packet-btrfcomm.c
+++ epan/dissectors/packet-btrfcomm.c
@@ -713,7 +721,7 @@
next_tvb = tvb_new_subset(tvb, offset, frame_len, frame_len);
l2cap_data = (btl2cap_data_t *) pinfo->private_data;
- rfcomm_data = (btrfcomm_data_t *) ep_alloc(sizeof(btrfcomm_data_t));
+ rfcomm_data = (btrfcomm_data_t *) wmem_new(wmem_packet_scope(),
btrfcomm_data_t);
rfcomm_data->interface_id = l2cap_data->interface_id;
rfcomm_data->adapter_id = l2cap_data->adapter_id;
rfcomm_data->chandle = l2cap_data->chandle;
This code does not exist in the file currently in SVN. Maybe you have some
other local modifications corresponding to another bug.
You are receiving this mail because:
- You are watching all bug changes.