aboutsummaryrefslogtreecommitdiffstats
path: root/epan/req_resp_hdrs.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-07 10:49:05 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-07 10:49:05 +0000
commitf9ab3ea40438b48e9db0c460cc7173dda95edb99 (patch)
tree964f2a12bf08b0252f48a2e733da170f5dd90398 /epan/req_resp_hdrs.c
parent1ad8e90e2e39c73db14030681691b826e7c57cb3 (diff)
From Chris Maynard: free strings fetched with "tvb_get_string()" when
we're done with them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12975 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/req_resp_hdrs.c')
-rw-r--r--epan/req_resp_hdrs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/req_resp_hdrs.c b/epan/req_resp_hdrs.c
index 1e6b99188e..d9cf1eff1d 100644
--- a/epan/req_resp_hdrs.c
+++ b/epan/req_resp_hdrs.c
@@ -282,8 +282,10 @@ req_resp_hdrs_do_reassembly(tvbuff_t *tvb, packet_info *pinfo,
/* We couldn't get the chunk size,
* so stop trying.
*/
+ g_free(chunk_string);
return TRUE;
}
+ g_free(chunk_string);
if (chunk_size == 0) {
/*