aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-05 10:27:22 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-05 10:27:22 +0000
commit6a8b0221f4adffbd8c004ba4e6ff39d67d1d5d64 (patch)
treed0a9d3ed1c6b0daaccae52cb6b23ef753d73f585 /epan/dissectors
parent8926d08a04e21fa97ad246984942bb743002fd05 (diff)
From Chris Maynard: free strings even if we don't put them into the
protocol tree. svn path=/trunk/; revision=12959
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-mmse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mmse.c b/epan/dissectors/packet-mmse.c
index f836249b2e..85e6b6f631 100644
--- a/epan/dissectors/packet-mmse.c
+++ b/epan/dissectors/packet-mmse.c
@@ -1250,8 +1250,8 @@ dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut,
length + 1, "%s: %s (Not decoded)",
hdr_name,
format_text(strval, strlen(strval)));
- g_free(strval);
}
+ g_free(strval);
} else { /* General form with length */
if (peek == 0x1F) { /* Value length in guintvar */
guint length_len = 0;