From: Badalyan Vyacheslav Date: Mon, 10 Oct 2016 02:53:07 +0000 (-0400) Subject: cel_odbc: Fix memory leak on module unload X-Git-Tag: 14.1.0-rc1~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3be9f9fa8caec48b3e351b5f6408debe1d75388;p=thirdparty%2Fasterisk.git cel_odbc: Fix memory leak on module unload Change-Id: Ic7a1236eba2408090fdabb5f717b5fa455ead715 --- diff --git a/cel/cel_odbc.c b/cel/cel_odbc.c index 3c0be04e84..a10aadae95 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; }