URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=26be9318101cd277c2007e7effa63e8789a922a4
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
26be931 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
extcap: Fix a potential leak of memory pointed to by 'toolbar_entry'
Initialize toolbar_entry after error checking is done to avoid a
potential memory leak when exiting early from cb_load_interfaces().
Change-Id: I925d9296085964c6d5c3a9ccae85137285bf9220
Reviewed-on: https://code.wireshark.org/review/28060
Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
Actions performed:
from e8493fa GTP: Don't test for the obvious
adds 26be931 extcap: Fix a potential leak of memory pointed to by 'toolbar_entry'
Summary of changes:
extcap.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)