Wireshark-commits: [Wireshark-commits] master c14df7f: Don't allocate something until we know we ne
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 31 Dec 2015 22:54:36 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c14df7f7a80b3650eff08e46c9fbfbd522b435dc
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

c14df7f by Guy Harris (guy@xxxxxxxxxxxx):

    Don't allocate something until we know we need it.
    
    From change I1be25fa3e2f54fb32058ac0b5c1631b193b07701.
    
    Change-Id: Iad01cd4c5920afcdc1f8329937f4141cf8bc0ab4
    Reviewed-on: https://code.wireshark.org/review/12979
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  01dc475   Don't cast away constness.
    adds  c14df7f   Don't allocate something until we know we need it.


Summary of changes:
 epan/uat.h |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)