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

Jenkins2 asteriskteam at digium.com
Tue Oct 10 08:12:38 CDT 2017


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

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 e02515b..fa99919 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/6716
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I3bed0edf3f55b1d4adcbabb25ec14f11dc766c72
Gerrit-Change-Number: 6716
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/3ec26bf1/attachment-0001.html>


More information about the asterisk-code-review mailing list