res_sdp_translator_pjmedia: Fix test unregistration.
authorCorey Farrell <git@cfware.com>
Fri, 6 Oct 2017 00:55:31 +0000 (20:55 -0400)
committerCorey Farrell <git@cfware.com>
Fri, 6 Oct 2017 00:55:31 +0000 (20:55 -0400)
ASTERISK-27306

Change-Id: Ib3ed47167cb697ab7bd0a56cab589893f491651b

res/res_sdp_translator_pjmedia.c

index d80f3d5..772be27 100644 (file)
@@ -585,7 +585,7 @@ static int unload_module(void)
        ast_sdp_unregister_translator(&pjmedia_translator);
        pj_caching_pool_destroy(&sdp_caching_pool);
        AST_TEST_UNREGISTER(pjmedia_to_sdp_test);
-       AST_TEST_REGISTER(sdp_to_pjmedia_test);
+       AST_TEST_UNREGISTER(sdp_to_pjmedia_test);
        return 0;
 }