diff options
author | Peter Wu <peter@lekensteyn.nl> | 2017-06-26 23:40:22 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2017-06-27 21:16:10 +0000 |
commit | 6bc0ba845100acb3c721e4f945bafeb1bed6c942 (patch) | |
tree | b494ef606a66643fce9be1d46c075ec57449326b /doc | |
parent | 381fd410cbea10207d15ee9bd05eaa18f91c60ac (diff) | |
download | wireshark-6bc0ba845100acb3c721e4f945bafeb1bed6c942.tar.gz |
Qt: fix alloc-dealloc-mismatch while adding named pipe
ManageInterfacesDialog::on_addPipe_clicked uses g_new0 to create an
"interface_t" instance, but InterfaceTreeCacheModel uses qDeleteAll
which results in ASAN reporting "alloc-dealloc-mismatch (malloc vs
operator delete)".
To fix this, remove the dynamic allocation and make
InterfaceTreeCacheModel store the instance internally.
Change-Id: I9426dfc88d0a54a889bbbc9cf336c0a6af76920e
Reviewed-on: https://code.wireshark.org/review/22410
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions