extcap: plug more memory leaks
authorPeter Wu <peter@lekensteyn.nl>
Sun, 11 Sep 2016 12:17:14 +0000 (14:17 +0200)
committerPeter Wu <peter@lekensteyn.nl>
Mon, 12 Sep 2016 12:14:46 +0000 (12:14 +0000)
commit26bf66f423489fa3128d406c949954be5c39455c
treefb2f4b635a67f7f0cb05a1842de33e897a62bb64
parentc64762d33c3a9cbc4af4040284534b440d12b210
extcap: plug more memory leaks

Fix leak of the preference key name which happen for every new extcap
argument. Fix leak of extcap arguments and the interface names in
extcap_register_preferences.

Change-Id: Idd68f924baa000303043cb98b32b23ce34fddb64
Reviewed-on: https://code.wireshark.org/review/17637
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
extcap.c