Wireshark-bugs: [Wireshark-bugs] [Bug 8416] remove C++ incompatibilities

Date: Tue, 19 Mar 2013 12:27:27 +0000

Comment # 168 on bug 8416 from
(In reply to comment #167)
> Created attachment 10385 [details]
> [PATCH 2] Bluetooth: Cleanup last part of  Bluetooth dissectors

Was the removal of the memset in this hunk done on purpose?
@@ -1995,7 +1998,7 @@ btl2cap_sdp_tap_packet(void *arg _U_, packet_info *pinfo
_U_, epan_dissect_t *ed
                 psm_service->adapter_id == adapter_id &&
                 psm_service->chandle == chandle &&
                 psm_service->psm == psm)) {
-            psm_service = se_new0(psm_service_t);
+            psm_service = wmem_new(wmem_file_scope(), psm_service_t);
             psm_service->interface_id = interface_id;
             psm_service->adapter_id   = adapter_id;
             psm_service->chandle      = chandle;


You are receiving this mail because:
  • You are watching all bug changes.