summaryrefslogtreecommitdiff
path: root/plugins/unistim
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2016-02-08 00:43:56 +0000
committerJoão Valverde <j@v6e.pt>2016-02-08 00:44:22 +0000
commitef929dc8eb8c61d5829132d2da2a3061df44bba9 (patch)
tree6dc7fb0abec832c1b336580bfeaec70717f0a76f /plugins/unistim
parent8df2857bc1082797cc7052eb5a6ebb45ac92e4b9 (diff)
downloadwireshark-ef929dc8eb8c61d5829132d2da2a3061df44bba9.tar.gz
Revert "Add free_address_wmem() and other extensions to address API"
This reverts commit 13ec77a9fc3af3b0b502820d0b55796c89997896. This commit introduces a segmentation fault for Lua code (uncovered by the test suite). Change-Id: Ibc273d1915cda9632697b9f138f0ae104d3fb65e Reviewed-on: https://code.wireshark.org/review/13813 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'plugins/unistim')
-rw-r--r--plugins/unistim/packet-unistim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c
index c5f867136c..78e99c9bba 100644
--- a/plugins/unistim/packet-unistim.c
+++ b/plugins/unistim/packet-unistim.c
@@ -231,8 +231,8 @@ dissect_unistim(tvbuff_t *tvb,packet_info *pinfo,proto_tree *tree,void *data _U_
uinfo->set_termid = -1;
uinfo->string_data = NULL;
uinfo->key_buffer = NULL;
- clear_address(&uinfo->it_ip);
- clear_address(&uinfo->ni_ip);
+ set_address(&uinfo->it_ip, AT_NONE, 0, NULL);
+ set_address(&uinfo->ni_ip, AT_NONE, 0, NULL);
uinfo->it_port = 0;
offset+=4;