Wireshark-bugs: [Wireshark-bugs] [Bug 9296] Wireshark lua dissector unable to load for media_typ

Date: Tue, 22 Oct 2013 18:25:56 +0000

changed bug 9296

What Removed Added
CC   [email protected]

Comment # 10 on bug 9296 from
(In reply to comment #5)
> Other ideas are welcome :)

Nothing great, and we don't really need main functionality of it (to compare
string by pointers) but we could use g_intern_string()
[https://developer.gnome.org/glib/2.37/glib-Quarks.html#g-intern-string].

Yep, it's overkill, and looking at glib code this memory seems to be never
freed, so better just use g_strdup() in lua code.


You are receiving this mail because:
  • You are watching all bug changes.