Make "cb_str_postprocess()" work like "cb_wstr_postprocess()" by using
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 1 Jul 2003 00:59:43 +0000 (00:59 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 1 Jul 2003 00:59:43 +0000 (00:59 +0000)
commit593a6e81d007405651c732c999e6eaed11f98795
treea6e1715a0ab6ba8a912332a34b435b2396995abb
parent35355e25b923c93c5cb4df13208e6d868e24f62c
Make "cb_str_postprocess()" work like "cb_wstr_postprocess()" by using
"tvb_get_string()" rather than "tvb_format_text()".  (This fixes a
problem wherein we freed the return value of "tvb_format_text()", which
we should not do as "tvb_format_text()" doesn't dynamically allocate the
buffer it returns, but means that we don't handle non-printable
characters - but that's a problem with "cb_wstr_postprocess()" as well,
as "tvb_fake_unicode()" also doesn't handle non-printable characters
specially; we should fix the problem in *both* routines.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7955 f5534014-38df-0310-8fa8-9805f1628bb7
packet-dcerpc-nt.c