diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-01-07 10:49:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-01-07 10:49:05 +0000 |
commit | fe833fc12387f5cf4371085fb7b8d28b513a7b97 (patch) | |
tree | 964f2a12bf08b0252f48a2e733da170f5dd90398 /epan/req_resp_hdrs.c | |
parent | a41963720971cb1bc1eebc380e292cf0f6edd221 (diff) | |
download | wireshark-fe833fc12387f5cf4371085fb7b8d28b513a7b97.tar.gz wireshark-fe833fc12387f5cf4371085fb7b8d28b513a7b97.tar.bz2 wireshark-fe833fc12387f5cf4371085fb7b8d28b513a7b97.zip |
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.c | 2 |
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) { /* |