Wireshark-commits: [Wireshark-commits] master 6f61a85: Don't write out statistics if we don't have

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2015 22:02:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6f61a85267013babe183fdd55eb46a06df491c47
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6f61a85 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't write out statistics if we don't have any.
    
    We don't know when the capture started or ended (the time stamps of the
    first and last packets aren't necessarily the time when the capture
    started or ended), we don't know how many packets were dropped in the
    capture process, and we don't know how many packets were seen in various
    stages before they were received by whatever software dumped them out as
    text, so we have no statistics to report.
    
    Change-Id: Ia8bface63a95f925a6ccb19c32d188055809f203
    Reviewed-on: https://code.wireshark.org/review/12812
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  a3e8015   g_malloc the decrypted key in AES_unwrap(), but always free it.
    adds  6f61a85   Don't write out statistics if we don't have any.


Summary of changes:
 text2pcap.c |   29 -----------------------------
 1 file changed, 29 deletions(-)