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

Joshua Colp asteriskteam at digium.com
Tue Oct 10 09:46:50 CDT 2017


Joshua Colp has submitted this change and it was merged. ( 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(-)

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



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: merged
Gerrit-Change-Id: I3bed0edf3f55b1d4adcbabb25ec14f11dc766c72
Gerrit-Change-Number: 6715
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-code-review/attachments/20171010/93209140/attachment.html>


More information about the asterisk-code-review mailing list