Use faster wmem_str* functions in a few places.
authorGerald Combs <gerald@wireshark.org>
Fri, 1 Apr 2016 19:48:22 +0000 (12:48 -0700)
committerMichael Mann <mmann78@netscape.net>
Sat, 2 Apr 2016 18:30:56 +0000 (18:30 +0000)
commit232e7474e60fb3cdaf89ad8306c5590e046e9888
tree7138869b545a1bec5b9966a8b70091cab134e7a7
parent9328eb62346986d4dbb19e0fdf28bdb2842df63b
Use faster wmem_str* functions in a few places.

Use wmem_strdup and wmem_strconcat instead of wmem_strdup_printf.

This shaves a small amount of time off of register_all_protocols on
Windows according to the Visual Studio profiler.

Change-Id: Ib6991e8de5b4fc30e960c513a3028c09dfe6a0a4
Reviewed-on: https://code.wireshark.org/review/14770
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-diameter.c
epan/dissectors/packet-erf.c