[Asterisk-code-review] res pjproject: Fix cleanup of buildopts vector. (asterisk[master])
Corey Farrell
asteriskteam at digium.com
Mon Oct 9 23:08:15 CDT 2017
Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/6713
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/13/6713/1
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/6713
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3bed0edf3f55b1d4adcbabb25ec14f11dc766c72
Gerrit-Change-Number: 6713
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/4b98098c/attachment.html>
More information about the asterisk-code-review
mailing list