diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 09:12:01 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 09:12:01 +0000 |
commit | 07c29e74e9ca2ef0003069b212b3c1ac382abf5a (patch) | |
tree | 2a97b9386cf4ebaf03438290b8bdd392e717d6de /epan/dissectors/packet-fcoib.c | |
parent | eda53fd1b729d42dc26d05e7636299b65936e140 (diff) |
Convert a few more dissectors to wmem API
svn path=/trunk/; revision=52052
Diffstat (limited to 'epan/dissectors/packet-fcoib.c')
-rw-r--r-- | epan/dissectors/packet-fcoib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fcoib.c b/epan/dissectors/packet-fcoib.c index aed542cb47..90c9ce62ea 100644 --- a/epan/dissectors/packet-fcoib.c +++ b/epan/dissectors/packet-fcoib.c @@ -34,6 +34,7 @@ #include <epan/crc32-tvb.h> #include <epan/etypes.h> #include <epan/expert.h> +#include <epan/wmem/wmem.h> #include <errno.h> #include "packet-infiniband.h" @@ -234,7 +235,7 @@ dissect_fcoib(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U ver = ""; version = tvb_get_guint8(tvb, 0 + FCOIB_VER_OFFSET) >> 4; if (version != 0) - ver = ep_strdup_printf(ver, "ver %d ", version); + ver = wmem_strdup_printf(wmem_packet_scope(), ver, "ver %d ", version); eof_str = "none"; if (tvb_bytes_exist(tvb, eof_offset, 1)) { |