URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=79fef2ae5042e600f1470f5ffa304578b1629876
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
79fef2a by Peter Wu (peter@xxxxxxxxxxxxx):
wslua: fix memleak of unregistered ProtoField field
If a ProtoField object was created, but not linked to a Proto, then some
fields (name, abbrev, blob) could leak. Fixes ASAN test failures for
four wslua tests.
Change-Id: I570ea154153b505ba81edb2bbf538e6dc1438728
Reviewed-on: https://code.wireshark.org/review/31750
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 03e13a6 wslua: fix memleaks related to Proto and Pref
add 79fef2a wslua: fix memleak of unregistered ProtoField field
Summary of changes:
epan/wslua/wslua_proto.c | 7 +++++++
epan/wslua/wslua_proto_field.c | 16 ++++++++++++++--
2 files changed, 21 insertions(+), 2 deletions(-)