diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 15:11:11 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 15:11:11 +0000 |
commit | 78508839049dfc7163096b13db9e89f9091708f6 (patch) | |
tree | 436cba2be2b1cef227f8b6ae3f2b08b2499374cb /epan/dissectors/packet-ncp.c | |
parent | c5ffff76d87088bd66834af0ce8f2694d53fd54b (diff) | |
download | wireshark-78508839049dfc7163096b13db9e89f9091708f6.tar.gz |
emem -> wmem
svn path=/trunk/; revision=52063
Diffstat (limited to 'epan/dissectors/packet-ncp.c')
-rw-r--r-- | epan/dissectors/packet-ncp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ncp.c b/epan/dissectors/packet-ncp.c index 31ca6534e9..accc248262 100644 --- a/epan/dissectors/packet-ncp.c +++ b/epan/dissectors/packet-ncp.c @@ -49,7 +49,7 @@ #include <glib.h> #include <epan/packet.h> -#include <epan/emem.h> +#include <epan/wmem/wmem.h> #include <epan/prefs.h> #include "packet-ipx.h" #include "packet-tcp.h" @@ -264,12 +264,12 @@ mncp_hash_insert(conversation_t *conversation, guint32 nwconnection, guint8 nwta /* Now remember the request, so we can find it if we later a reply to it. Track by conversation, connection, and task number. in NetWare these values determine each unique session */ - key = se_new(mncp_rhash_key); + key = wmem_new(wmem_file_scope(), mncp_rhash_key); key->conversation = conversation; key->nwconnection = nwconnection; key->nwtask = nwtask; - value = se_new(mncp_rhash_value); + value = wmem_new(wmem_file_scope(), mncp_rhash_value); g_hash_table_insert(mncp_rhash, key, value); |