URL: 
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f4a521ee74f01063fe2738ff5a975d5a833ab85e
Submitter: Anders Broman (a.broma...@gmail.com)
Changed: branch: master
Repository: wireshark

Commits:

f4a521e by AndersBroman (anders.bro...@ericsson.com):

    [proto.c] As we know the size of the hf array use g_ptr_array_sized_new()
    to allocate the arry to hold them. This should be more efficient.
    
    Change-Id: I84b1095b6eb110fdcc1b2630949c76b51f3a47b6
    Reviewed-on: https://code.wireshark.org/review/17866
    Reviewed-by: Anders Broman <a.broma...@gmail.com>
    

Actions performed:

    from  0b3d679   Don't call proto_register_field_array() or 
expert_register_protocol() with proto = -1
    adds  f4a521e   [proto.c] As we know the size of the hf array use 
g_ptr_array_sized_new() to allocate the arry to hold them. This should be more 
efficient.


Summary of changes:
 epan/proto.c |   22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)
___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe

Reply via email to