Wireshark-commits: [Wireshark-commits] master 7ffc4f9: When looking up response codes, just keep th

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 09 Mar 2018 02:03:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7ffc4f96ebe2fac503cb251a848441ad8d4bad8c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

7ffc4f9 by Guy Harris (guy@xxxxxxxxxxxx):

    When looking up response codes, just keep the key on the stack.
    
    We don't need to dynamically allocate a guint variable to hold the
    response code value - and then not bother to free it! - if we're just
    doing a lookup; we can use an automatic variable and pass a pointer to
    it.
    
    Change-Id: I6edbb352f0aa33c91ede0f4e1bbb962fa921bea2
    Reviewed-on: https://code.wireshark.org/review/26375
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  6e32335   Intern MaxMinDB IPv6 addresses.
    adds  7ffc4f9   When looking up response codes, just keep the key on the stack.


Summary of changes:
 ui/cli/tap-sipstat.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)