Skip to content
Snippets Groups Projects
Commit fae09c66 authored by Corey Farrell's avatar Corey Farrell
Browse files

res_pjproject: Fix cleanup of buildopts vector.

ASTERISK-27306

Change-Id: I3bed0edf3f55b1d4adcbabb25ec14f11dc766c72
parent 7d9fa0be
Branches
Tags
No related merge requests found
...@@ -544,7 +544,7 @@ static int unload_module(void) ...@@ -544,7 +544,7 @@ static int unload_module(void)
pj_log_set_log_func(log_cb_orig); pj_log_set_log_func(log_cb_orig);
pj_log_set_decor(decor_orig); pj_log_set_decor(decor_orig);
AST_VECTOR_REMOVE_CMP_UNORDERED(&buildopts, NULL, NOT_EQUALS, ast_free); AST_VECTOR_CALLBACK_VOID(&buildopts, ast_free);
AST_VECTOR_FREE(&buildopts); AST_VECTOR_FREE(&buildopts);
ast_debug(3, "Stopped PJPROJECT logging to Asterisk logger\n"); ast_debug(3, "Stopped PJPROJECT logging to Asterisk logger\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment