]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
cel_odbc: Fix memory leak on module unload 45/4045/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:18 +0000 (22:32 -0500)
Change-Id: Ic7a1236eba2408090fdabb5f717b5fa455ead715

cel/cel_odbc.c

index 11e33309770db2797c81e54cb46a1e95d38aef68..701883bceb128f1ae930ac13073b1d44a4e9d31d 100644 (file)
@@ -291,6 +291,7 @@ static int load_config(void)
                else
                        ast_free(tableptr);
        }
+       ast_config_destroy(cfg);
        return res;
 }