[Asterisk-code-review] cel odbc: Fix memory leak on module unload (asterisk[master])
Badalian Vyacheslav
asteriskteam at digium.com
Sun Oct 9 21:55:36 CDT 2016
Badalian Vyacheslav has uploaded a new change for review.
https://gerrit.asterisk.org/4042
Change subject: cel_odbc: Fix memory leak on module unload
......................................................................
cel_odbc: Fix memory leak on module unload
Change-Id: Ic7a1236eba2408090fdabb5f717b5fa455ead715
---
M cel/cel_odbc.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/42/4042/1
diff --git a/cel/cel_odbc.c b/cel/cel_odbc.c
index 3c0be04..73ce2ff 100644
--- a/cel/cel_odbc.c
+++ b/cel/cel_odbc.c
@@ -285,6 +285,7 @@
SQLFreeHandle(SQL_HANDLE_STMT, stmt);
ast_odbc_release_obj(obj);
+ ast_config_destroy(cfg);
if (AST_LIST_FIRST(&(tableptr->columns)))
AST_RWLIST_INSERT_TAIL(&odbc_tables, tableptr, list);
--
To view, visit https://gerrit.asterisk.org/4042
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7a1236eba2408090fdabb5f717b5fa455ead715
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Badalian Vyacheslav <v.badalyan at open-bs.ru>
More information about the asterisk-code-review
mailing list