]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
cel_odbc: Fix memory leak on module unload 46/4046/1
authorBadalyan Vyacheslav <v.badalyan@open-bs.ru>
Mon, 10 Oct 2016 02:53:07 +0000 (22:53 -0400)
committerBadalian Vyacheslav <v.badalyan@open-bs.ru>
Mon, 10 Oct 2016 03:32:34 +0000 (22:32 -0500)
Change-Id: Ic7a1236eba2408090fdabb5f717b5fa455ead715

cel/cel_odbc.c

index 3c0be04e848aba53a3b55c0a98f7fcfe837f0845..a10aadae95754880cbc98050b12aaac65daec01c 100644 (file)
@@ -291,6 +291,7 @@ static int load_config(void)
                else
                        ast_free(tableptr);
        }
+       ast_config_destroy(cfg);
        return res;
 }