Wireshark-commits: [Wireshark-commits] master 6c698f3: diameter: fix a memory leak on startup

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Jun 2015 16:59:51 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6c698f3b8a81786087523e45ed612003e4aae26d
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6c698f3 by Evan Huus (eapache@xxxxxxxxx):

    diameter: fix a memory leak on startup
    
    If we can't read the dictionary containing all our definitions, free necessary
    memory before returning.
    
    Change-Id: I814962d920852b9a82acb3bb2e7bc41addd835f7
    Reviewed-on: https://code.wireshark.org/review/9131
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  74e526f   Add proper "Decode As" mechanism for L2TPv3 subdissectors instead of preference.
    adds  6c698f3   diameter: fix a memory leak on startup


Summary of changes:
 epan/dissectors/packet-diameter.c |    2 ++
 1 file changed, 2 insertions(+)