aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mount.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-07-23 00:22:02 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-07-23 00:22:02 +0000
commitbbc0f4a85b16dd976053ee90e3bb66931ea6300e (patch)
treef78513b921c6b7f192c5919c4e1b121effbc76fc /epan/dissectors/packet-mount.c
parent4fb2c4ddd9b6092b746e532e57f755602dedc623 (diff)
we no longer need to g_free() teh string returned by dissect_rpc_string.
when checking the calls in packet-ndmp.c we must have had a memleak there since it never freed those strings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15005 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-mount.c')
-rw-r--r--epan/dissectors/packet-mount.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-mount.c b/epan/dissectors/packet-mount.c
index 7dd2c345c9..c2604882f5 100644
--- a/epan/dissectors/packet-mount.c
+++ b/epan/dissectors/packet-mount.c
@@ -214,8 +214,6 @@ dissect_mountlist(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree
/* now we know, that mountlist is shorter */
proto_item_set_len(lock_item, offset - old_offset);
}
- g_free(hostname);
- g_free(directory);
return offset;
}
@@ -311,7 +309,6 @@ dissect_exportlist(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr
/* now we know, that exportlist is shorter */
proto_item_set_len(exportlist_item, offset - old_offset);
}
- g_free(directory);
return offset;
}
@@ -601,8 +598,6 @@ dissect_sgi_exportlist(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_
/* now we know, that exportlist is shorter */
proto_item_set_len(exportlist_item, offset - old_offset);
}
- g_free(directory);
- g_free(options);
return offset;
}