Wireshark-commits: [Wireshark-commits] master-2.4 4321a94: pcapng: Free option_content on error

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Sep 2018 19:09:55 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4321a94fc3aa9ab24b9147caecf78fa23b30f053
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark

Commits:

4321a94 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    pcapng: Free option_content on error
    
    Change-Id: I5a406ecf4e495d0224473d01af4144479ceaf9c3
    Reviewed-on: https://code.wireshark.org/review/29863
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit 65a422e235bd88859a27626f120a3d3ec478e29d)
    Reviewed-on: https://code.wireshark.org/review/29873
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  1a439c7   Move wtap_encap_requires_phdr() amongs the other switch statement routines.
     add  4321a94   pcapng: Free option_content on error


Summary of changes:
 wiretap/pcapng.c | 1 +
 1 file changed, 1 insertion(+)