aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2012-08-14 18:33:58 +0000
committerMichael Mann <mmann78@netscape.net>2012-08-14 18:33:58 +0000
commitc3f223d3566d1c62a65023662aa4cf9c36a1b49b (patch)
tree5f981ce4245f372ba268f0cadeffdfd3c037df6c /tools
parent0d3a203d3e8010c34aae2b484c905e111da1a15c (diff)
Bug 3725 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3725)
Have giop dissector use more ephemeral memory. Update idl2wrs dissector generator accordingly. svn path=/trunk/; revision=44498
Diffstat (limited to 'tools')
-rwxr-xr-xtools/wireshark_gen.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/wireshark_gen.py b/tools/wireshark_gen.py
index 48c28a704a..ad377cf02a 100755
--- a/tools/wireshark_gen.py
+++ b/tools/wireshark_gen.py
@@ -1846,9 +1846,6 @@ get_CDR_fixed(tvb, &seq, offset, @digits@, @scale@);
if (tree) {
proto_tree_add_text(tree,tvb,*offset-@length@, @length@, "@varname@ < @digits@, @scale@> = %s",seq);
}
-
-g_free(seq); /* free buffer */
-seq = NULL;
"""
template_get_CDR_enum_symbolic = """\
@@ -1867,8 +1864,6 @@ if (tree) {
u_octet4, (u_octet4 > 0) ? seq : \"\");
}
-g_free(seq); /* free buffer */
-seq = NULL;
"""
template_get_CDR_wchar = """\
s_octet1 = get_CDR_wchar(tvb, &seq, offset, header);
@@ -1884,8 +1879,6 @@ if (tree) {
}
-g_free(seq); /* free buffer */
-seq = NULL;
"""
template_get_CDR_TypeCode = """\
u_octet4 = get_CDR_typeCode(tvb, tree, offset, stream_is_big_endian, boundary, header);
@@ -1917,8 +1910,6 @@ if (u_octet4_loop_@seqname@ > 0 && tree) {
u_octet4_loop_@seqname@);
proto_tree_add_text(tree, tvb, *offset - u_octet4_loop_@seqname@,
u_octet4_loop_@seqname@, \"@seqname@: %s\", text_seq_@seqname@);
- g_free(binary_seq_@seqname@);
- g_free(text_seq_@seqname@);
}
"""
template_get_CDR_array_start = """\