Tagged: memory handling

Glib Memory

glib wraps the standard malloc() and free() with its own g_ variants, g_malloc() and g_free(), shown in Figure 2-5. These are nice in several small ways: • g_malloc() always returns a gpointer, never a...