diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-12-11 11:42:28 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-19 23:23:59 +0000 |
commit | 7046b4b0840e106a1361f4fda8497eaeafe652dc (patch) | |
tree | 8b92be707c96af543170fc2ccbbcbd3711e11c55 /epan/dtd_parse.h | |
parent | 07f0cf86333e7d2dd805731a322652ae5101a358 (diff) |
extcap: plug some memleaks
The working directory for g_spawn_sync should not be escaped, it is
simply passed to chdir. The escaping was needed for the command, so do
so (hmm... maybe the argv arguments should be escaped too for Windows).
Also remove an unnecessary NULL command argument for extcap_foreach.
Note: there is still a memleak when exiting because the ifaces table is
not cleared after querying the list.
Change-Id: I1251d623b954a81848044b6d1faf8dcec8ce465b
Reviewed-on: https://code.wireshark.org/review/12530
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dtd_parse.h')
0 files changed, 0 insertions, 0 deletions