[asterisk-commits] res config ldap.c: Fix mem leak in CLI "realtime show ldap s... (asterisk[certified/13.21])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 17 15:47:04 CDT 2018
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/9491 )
Change subject: res_config_ldap.c: Fix mem leak in CLI "realtime show ldap status"
......................................................................
res_config_ldap.c: Fix mem leak in CLI "realtime show ldap status"
Change-Id: Ib2a3622b297b0363c62d23958f7a20039bcb9b4c
---
M res/res_config_ldap.c
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Corey Farrell: Looks good to me, but someone else must approve
Sean Bright: Looks good to me, approved
Jenkins2: Approved for Submit
diff --git a/res/res_config_ldap.c b/res/res_config_ldap.c
index 41d8f4b..e304d40 100644
--- a/res/res_config_ldap.c
+++ b/res/res_config_ldap.c
@@ -2007,6 +2007,7 @@
} else {
ast_cli(a->fd, "%s for %d seconds.\n", ast_str_buffer(buf), ctimesec);
}
+ ast_free(buf);
return CLI_SUCCESS;
}
--
To view, visit https://gerrit.asterisk.org/9491
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: certified/13.21
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2a3622b297b0363c62d23958f7a20039bcb9b4c
Gerrit-Change-Number: 9491
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20180717/36fa1a5b/attachment.html>
More information about the asterisk-commits
mailing list