URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=541afedfbc64503df0e7301d7614a30c9ba8ad49
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
541afed by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
wslua: Fix memleak of unregistered ProtoExpert
If a ProtoExpert object was created, but not linked to a Proto, then the
object and some fields (abbrev, text) would leak.
This is a follow-up to g79fef2ae.
Change-Id: Ic0b44e8b70895a19d9b52a0e44064a1e76a58fa0
Reviewed-on: https://code.wireshark.org/review/34876
Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
Actions performed:
from e8265fb NAS 5GS: fix dissection of routing indicator
add 541afed wslua: Fix memleak of unregistered ProtoExpert
Summary of changes:
epan/wslua/wslua_proto.c | 8 +++++++-
epan/wslua/wslua_proto_expert.c | 16 +++++++++++++---
2 files changed, 20 insertions(+), 4 deletions(-)