"tvb_get_string()" returns a pointer to "g_malloc()"ed data, so you have
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 4 May 2004 06:53:47 +0000 (06:53 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 4 May 2004 06:53:47 +0000 (06:53 +0000)
commita397c78e7a7ef3c32987994da8f2c7f6f2e3c219
treec212ac1ed1149dc08be9f23b007715c80cede153
parent7aec5f2db3f5ad4c440e47003d73f82c1d824baa
"tvb_get_string()" returns a pointer to "g_malloc()"ed data, so you have
to free it when you're done with it.

It never returns a null pointer, however, so there's no need to check
for that.

Clean up the code to process Transfer-Encoding a bit.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10786 f5534014-38df-0310-8fa8-9805f1628bb7
req_resp_hdrs.c