[Asterisk-code-review] cel odbc: Fix memory leak on module unload (asterisk[master])

Corey Farrell asteriskteam at digium.com
Sun Oct 9 22:08:16 CDT 2016


Corey Farrell has posted comments on this change.

Change subject: cel_odbc: Fix memory leak on module unload
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

If this applies to 11, 13 and 14 please cherry-pick after fixing the issue.

https://gerrit.asterisk.org/#/c/4042/1/cel/cel_odbc.c
File cel/cel_odbc.c:

Line 288: 		ast_config_destroy(cfg);
This needs to be moved directly before the 'return res;' below, outside the "for" block.


-- 
To view, visit https://gerrit.asterisk.org/4042
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic7a1236eba2408090fdabb5f717b5fa455ead715
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Badalian Vyacheslav <v.badalyan at open-bs.ru>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list