summaryrefslogtreecommitdiff
path: root/cel
diff options
context:
space:
mode:
authorBadalyan Vyacheslav <v.badalyan@open-bs.ru>2016-10-09 22:53:07 -0400
committerBadalian Vyacheslav <v.badalyan@open-bs.ru>2016-10-09 22:32:34 -0500
commitc3be9f9fa8caec48b3e351b5f6408debe1d75388 (patch)
tree751c5d49a87bf7f323fdde3704acba814406cb92 /cel
parent741c2e157096b5c1f38f0c9a9ca08ae8d7197c7e (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;
}