diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-07-23 00:22:02 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-07-23 00:22:02 +0000 |
commit | 6aaaedd633de2eedb3dca7a2aed2c7b07c2c3414 (patch) | |
tree | f78513b921c6b7f192c5919c4e1b121effbc76fc /epan/dissectors/packet-pcnfsd.c | |
parent | c13d85f62dfc61e27793ec972a11836bf9709146 (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-pcnfsd.c')
-rw-r--r-- | epan/dissectors/packet-pcnfsd.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/epan/dissectors/packet-pcnfsd.c b/epan/dissectors/packet-pcnfsd.c index 40578c1e49..6cddd7b5ac 100644 --- a/epan/dissectors/packet-pcnfsd.c +++ b/epan/dissectors/packet-pcnfsd.c @@ -221,10 +221,6 @@ dissect_pcnfsd2_auth_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_item_set_text(ident_item, "Authentication Ident: %s", ident); } - if (ident) { - g_free(ident); - ident = NULL; - } offset = newoffset; @@ -252,10 +248,6 @@ dissect_pcnfsd2_auth_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_item_set_text(password_item, "Authentication Password: %s", password); } - if (password) { - g_free(password); - password = NULL; - } offset = newoffset; |