summaryrefslogtreecommitdiff
path: root/cel
diff options
context:
space:
mode:
authorBadalyan Vyacheslav <v.badalyan@open-bs.ru>2016-10-09 22:53:07 -0400
committerBadalyan Vyacheslav <v.badalyan@open-bs.ru>2016-10-09 23:30:07 -0400
commitca2f3e5b99c81ccfaae1a3269c2437d9e436c367 (patch)
tree7dd42d781ed394348b5bda41a2c64f18041bb67d /cel
parent442b597929c8d81fc41a9cbd8439e6ec215ba9ea (diff)
cel_odbc: Fix memory leak on module unload
Change-Id: Ic7a1236eba2408090fdabb5f717b5fa455ead715
Diffstat (limited to 'cel')
-rw-r--r--cel/cel_odbc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cel/cel_odbc.c b/cel/cel_odbc.c
index 3c0be04e8..a10aadae9 100644
--- a/cel/cel_odbc.c
+++ b/cel/cel_odbc.c
@@ -291,6 +291,7 @@ static int load_config(void)
else
ast_free(tableptr);
}
+ ast_config_destroy(cfg);
return res;
}