[asterisk-commits] res pjproject: Fix cleanup of buildopts vector. (asterisk[15])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 10 08:30:38 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6714 )

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(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/res/res_pjproject.c b/res/res_pjproject.c
index 1d9d73e..46c82aa 100644
--- a/res/res_pjproject.c
+++ b/res/res_pjproject.c
@@ -544,7 +544,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/6714
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I3bed0edf3f55b1d4adcbabb25ec14f11dc766c72
Gerrit-Change-Number: 6714
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20171010/20cf68e5/attachment.html>


More information about the asterisk-commits mailing list