3 ms·
> g_list_free (slist); /* corruption: sizeof (GSList) != sizeof (GList) */ Catching this error at runtime would be extremely trivial. Just add a ma
by h_anna_h 6y ago
> g_list_free (slist); /* corruption: sizeof (GSList) != sizeof (GList) */
Catching this error at runtime would be extremely trivial. Just add a magic number on top of the GSList and GList structs.