[Asterisk-code-review] res pjproject: Fix cleanup of buildopts vector. (asterisk[14])

Corey Farrell asteriskteam at digium.com
Mon Oct 9 23:17:36 CDT 2017


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/6715


Change subject: res_pjproject: Fix cleanup of buildopts vector.
......................................................................

res_pjproject: Fix cleanup of buildopts vector.

ASTERISK-27306

Change-Id: I3bed0edf3f55b1d4adcbabb25ec14f11dc766c72
---
M res/res_pjproject.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/15/6715/1

diff --git a/res/res_pjproject.c b/res/res_pjproject.c
index 2566baf..93694fa 100644
--- a/res/res_pjproject.c
+++ b/res/res_pjproject.c
@@ -546,7 +546,7 @@
 	pj_log_set_log_func(log_cb_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_debug(3, "Stopped PJPROJECT logging to Asterisk logger\n");

-- 
To view, visit https://gerrit.asterisk.org/6715
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3bed0edf3f55b1d4adcbabb25ec14f11dc766c72
Gerrit-Change-Number: 6715
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171009/68861416/attachment.html>


More information about the asterisk-code-review mailing list