Slide format
All
Issue details
glib 2.76 converts the slice allocator implementation to a g_malloc wrapper, which has been under discussion since 2015. Consider switching to g_malloc everywhere to simplify our internals, e.g. eliminating _openslide_slice.
g_malloc is also a malloc wrapper since glib 2.46, but it provides some useful API affordances (e.g. automatic abort on allocation failure) so I'd be inclined to keep using it.
Slide format
All
Issue details
glib 2.76 converts the slice allocator implementation to a
g_mallocwrapper, which has been under discussion since 2015. Consider switching tog_malloceverywhere to simplify our internals, e.g. eliminating_openslide_slice.g_mallocis also amallocwrapper since glib 2.46, but it provides some useful API affordances (e.g. automatic abort on allocation failure) so I'd be inclined to keep using it.