aboutsummaryrefslogtreecommitdiffstats
path: root/epan/req_resp_hdrs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-07 10:49:05 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-07 10:49:05 +0000
commitfe833fc12387f5cf4371085fb7b8d28b513a7b97 (patch)
tree964f2a12bf08b0252f48a2e733da170f5dd90398 /epan/req_resp_hdrs.c
parenta41963720971cb1bc1eebc380e292cf0f6edd221 (diff)
From Chris Maynard: free strings fetched with "tvb_get_string()" when
we're done with them. svn path=/trunk/; revision=12975
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) {
/*