summaryrefslogtreecommitdiff
path: root/tests/test_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_utils.c')
-rw-r--r--tests/test_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_utils.c b/tests/test_utils.c
index 68a285727..f9746e288 100644
--- a/tests/test_utils.c
+++ b/tests/test_utils.c
@@ -391,7 +391,7 @@ AST_TEST_DEFINE(agi_loaded_test)
}
#endif
- ast_agi_unregister(ast_module_info->self, &noop_command);
+ ast_agi_unregister(&noop_command);
return res;
}