chan_iax2: Use OBJ_NODATA to be a bit more explicit.
[asterisk/asterisk.git] / channels / chan_iax2.c
index d8fdc0e..3928ed8 100644 (file)
@@ -12950,7 +12950,7 @@ static void delete_users(void)
 {
        struct iax2_registry *reg;
 
-       ao2_callback(users, 0, user_delme_cb, NULL);
+       ao2_callback(users, OBJ_NODATA, user_delme_cb, NULL);
 
        AST_LIST_LOCK(&registrations);
        while ((reg = AST_LIST_REMOVE_HEAD(&registrations, entry))) {
@@ -12972,7 +12972,7 @@ static void delete_users(void)
        }
        AST_LIST_UNLOCK(&registrations);
 
-       ao2_callback(peers, 0, peer_delme_cb, NULL);
+       ao2_callback(peers, OBJ_NODATA, peer_delme_cb, NULL);
 }
 
 static void prune_users(void)