Revert to realloc g_array