Wireshark-commits: [Wireshark-commits] master ab7bbaa: addr_resolv: fix memleak of g_penterprises_p

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 25 Apr 2018 04:09:58 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ab7bbaa93aa98d273e9feb60babc03f89f03cc15
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ab7bbaa by Peter Wu (peter@xxxxxxxxxxxxx):

    addr_resolv: fix memleak of g_penterprises_path
    
    Found by valgrind. Remove unnecessary "if" guard for g_free while at it.
    
    Change-Id: I58a18472f2c82e4c6c810d3cb3eeb2358b64f4ab
    Reviewed-on: https://code.wireshark.org/review/27133
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  8c959fc   Get rid of stuff that checks for a .libs directory.
    adds  ab7bbaa   addr_resolv: fix memleak of g_penterprises_path


Summary of changes:
 epan/addr_resolv.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)