Wireshark-commits: [Wireshark-commits] master 5d2af76: extcap: Fix memory leak in extcap_load_inter
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 21 May 2019 11:01:31 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5d2af76c9842436f7e556f5e4743cd7347690fe6
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

5d2af76 by Tomasz Moń (desowin@xxxxxxxxx):

    extcap: Fix memory leak in extcap_load_interface_list()
    
    The content of the list returned by g_hash_table_get_values() is owned by
    GHashTable and should not be modified or freed. However, the list itself
    should be freed using g_list_free().
    
    Change-Id: Ie4a1da290f25dbd6dc2f3a01f051bfca13bb01d3
    Reviewed-on: https://code.wireshark.org/review/33281
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  aab172f   tools: add alpine-setup script.
     add  5d2af76   extcap: Fix memory leak in extcap_load_interface_list()


Summary of changes:
 extcap.c | 1 +
 1 file changed, 1 insertion(+)