diff --git a/main/astobj2.c b/main/astobj2.c index 3590d9bf64d0829a6ed06cdacef3e257427b36f0..6aff3b4ced027c14aacb4537838e186395d4dafd 100644 --- a/main/astobj2.c +++ b/main/astobj2.c @@ -1027,7 +1027,7 @@ static void *internal_ao2_callback(struct ao2_container *c, enum search_flags fl * is destroyed, the container will be automatically * destroyed as well. */ - multi_container = __ao2_container_alloc(AO2_ALLOC_OPT_LOCK_NOLOCK, 1, NULL, NULL); + multi_container = ao2_container_alloc_options(AO2_ALLOC_OPT_LOCK_NOLOCK, 1, NULL, NULL); if (!multi_container) { return NULL; }