URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f4a521ee74f01063fe2738ff5a975d5a833ab85e
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
f4a521e by AndersBroman (anders.broman@xxxxxxxxxxxx):
    [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.broman58@xxxxxxxxx>
    
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(-)