diff options
author | Mikael Kanstrup <mikael.kanstrup@gmail.com> | 2017-08-25 13:58:20 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2017-08-28 16:53:26 +0000 |
commit | 8646596829494dbe054a18958eac68682ba42721 (patch) | |
tree | 216587ccc92e895d2ba04a002a179fccc7e20791 /capture_opts.h | |
parent | 752c48f8643935cd859a794e53e4a9f4fba73b03 (diff) |
Fix leaks when active capture interface goes down
If an interface goes down while packet capture is ongoing
related interface_option element is not freed properly. Fix
by using the appropriate free function that both remove the
element and frees element members.
Ping-Bug: 13864
Change-Id: I66a11d64615dc9648441b532e4ff658ea42a5acf
Reviewed-on: https://code.wireshark.org/review/23205
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'capture_opts.h')
0 files changed, 0 insertions, 0 deletions