Wireshark-commits: [Wireshark-commits] master a729c0f: wslua: fix memleak in Dir.remove_all on erro
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 10 May 2018 06:16:29 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a729c0f173c5e2658bf8ea69c7eedca17750d5bd
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a729c0f by Peter Wu (peter@xxxxxxxxxxxxx):

    wslua: fix memleak in Dir.remove_all on error path
    
    While at it, use g_build_filename. Found by Clang Static Analyzer.
    
    Change-Id: I5c50f50abb8c16a553586c548ccd1ae6c3cdd8c1
    Reviewed-on: https://code.wireshark.org/review/27439
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  d834299   Remove a bunch of unused images.
    adds  a729c0f   wslua: fix memleak in Dir.remove_all on error path


Summary of changes:
 epan/wslua/wslua_dir.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)