aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2020-11-05 16:32:55 +0100
committerJaap Keuter <jaap.keuter@xs4all.nl>2020-11-05 16:32:55 +0100
commit57b666692051969d874a5b272258b9f3d8447949 (patch)
tree100c564c14ed219a5d019af6468d481826935fa1
parent84ddbf373e505ac7839392e0a3337a75804b73df (diff)
giop: free the buffer where its at
Followup on commit 40ce72f1a8cfbc9df1fd0dd637f2b8f00b4f5042
-rw-r--r--epan/dissectors/packet-giop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c
index 60bfa3bb1b..2f211a7d90 100644
--- a/epan/dissectors/packet-giop.c
+++ b/epan/dissectors/packet-giop.c
@@ -1564,14 +1564,14 @@ static void read_IOR_strings_from_file(const gchar *name, int max_iorlen) {
decode_IOR(tvb, NULL, NULL, &my_offset, 0, stream_is_big_endian);
tvb_free(tvb);
-
}
+
+ wmem_free(NULL, out);
}
fclose(fp); /* be nice */
wmem_free(NULL, buf);
- wmem_free(NULL, out);
}