Wireshark-bugs: [Wireshark-bugs] [Bug 5070] Enhancement of dissector for Ether-S-Bus (packet-sbu

Date: Tue, 3 Aug 2010 14:00:53 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5070

--- Comment #10 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2010-08-03 14:00:52 PDT ---
Hi,
I'm sorry I just noted that you use g_mem_chunks

"g_mem_chunk_new has been deprecated since version 2.10 and should not be used
in newly-written code. Use the slice allocator instead"

You need to do something like in reassemble.c
 #if GLIB_CHECK_VERSION(2,10,0) 
678            fd = g_slice_new(fragment_data); 
679    #else 
680          fd = g_mem_chunk_alloc(fragment_data_chunk);
681    #endif 
or use se memmory.
Regards
Anders

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