Wireshark-commits: [Wireshark-commits] master-2.6 49ecebc: Fix memory leak in export_object.c
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 02 May 2020 21:42:27 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=49ecebc4a1fec988677a254cc340304e9d17c40c
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

49ecebc by Martin Mathieson (martin.mathieson@xxxxxxxxxxxx):

    Fix memory leak in export_object.c
    
    /opt/SourceCode/wireshark/epan/export_object.c	106	err	V773 The function was exited without releasing the 'ext_str' pointer. A memory leak is possible.
    
    Bug: 16335
    Change-Id: Ic4811dabe2de9f9e7793f276336d2a87665e5791
    Reviewed-on: https://code.wireshark.org/review/37027
    Petri-Dish: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    (cherry picked from commit 4067652c86aa84e13cc76785e03be2f1fc2615d8)
    Reviewed-on: https://code.wireshark.org/review/37032
    

Actions performed:

    from  f464fab   mpeg: make sure the presence flags are set.
     add  49ecebc   Fix memory leak in export_object.c


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