Hello, https://developer.gnome.org/glib/stable/glib-Memory-Allocation.htmlweb page has the following in the Description" It's important to match g_malloc() (and wrappers such as g_new()) withg_free(), g_slice_alloc() and wrappers such as g_slice_new()) withg_slice_free(), plain malloc() with free(), and (if you're using C++)new with delete and new[] with delete[]. Otherwise bad things can happen,since these allocators may use different memory pools (and new/delete callconstructors and destructors). See also g_mem_set_vtable()." Looks like the "(" before and wrappers, and ")" after as g_slice_new() needs to be removed. g_malloc() does not go well with g_slice_free(), please check. ThanksMohan
_______________________________________________ gnome-web-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-web-list
