[PATCH 5/5] VIR_ALLOC: Replace internals by g_clear_pointer