aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mount.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-07-23 00:22:02 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-07-23 00:22:02 +0000
commit6aaaedd633de2eedb3dca7a2aed2c7b07c2c3414 (patch)
treef78513b921c6b7f192c5919c4e1b121effbc76fc /epan/dissectors/packet-mount.c
parentc13d85f62dfc61e27793ec972a11836bf9709146 (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. svn path=/trunk/; revision=15005
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;
}