forked from osmocom/wireshark
8da4777440
FrameInformation was never deallocated, leaking the whole pinfo scope. Fix a dealloc-alloc-mismatch (packet_data_ was g_memdup'd). Attach the DataPrinter menu actions to the action group instead of the singleton DataPrinter instance, this enables freeing the actions when the submenu is gone rather than clearing this at program exit. Reported by ASAN. Change-Id: If13af94a60b07b0e52973ccc5c437ef987bfb394 Fixes: v2.5.0rc0-1627-g8a6ea0e454 ("Qt: Further cleanup ByteView") Reviewed-on: https://code.wireshark.org/review/27844 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com> |
||
---|---|---|
.. | ||
color_utils.cpp | ||
color_utils.h | ||
data_printer.cpp | ||
data_printer.h | ||
field_information.cpp | ||
field_information.h | ||
frame_information.cpp | ||
frame_information.h | ||
idata_printable.h | ||
proto_node.cpp | ||
proto_node.h | ||
qt_ui_utils.cpp | ||
qt_ui_utils.h | ||
stock_icon.cpp | ||
stock_icon.h | ||
tango_colors.h | ||
variant_pointer.h | ||
wireshark_mime_data.cpp | ||
wireshark_mime_data.h |