Re: [Wireshark-dev] Problems with passing g_free to g_slist_foreach?

2021-03-16 Thread wsgd
Looking at documentation (did not tried) : g_slist_free_full(*list, g_free) ?Regards,OlivierEnvoyé depuis mon appareil Galaxy Message d'origine De : Richard Sharpe Date : 17/03/2021 05:27 (GMT+01:00) À : Developer support list for Wireshark Objet : [Wireshark-dev] Problems

[Wireshark-dev] Problems with passing g_free to g_slist_foreach?

2021-03-16 Thread Richard Sharpe
Hi folks, I have been seeing some compiler errors on CentOS 8 like the following: --- /home/rsharpe/src/wireshark/epan/packet.c:142:25: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type