Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3894] File-Open Display Filter is overwritten by Save-As F

Date: Thu, 14 Oct 2010 02:27:47 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3894

--- Comment #10 from Guy Harris <guy@xxxxxxxxxxxx> 2010-10-14 02:27:34 PDT ---
It doesn't look that bad to use g_utf8_to_utf16() instead of utf_8to16(), and
free the string after you're done with it, and to use g_utf16_to_utf8() in
filter_tb_get(), and free the string to which the variable points before
setting it to the result of g_utf16_to_utf8().  I'd vote for that.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.