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

cel/cel_odbc.c

index f416401cb44fb91c1d7f297c086125aceff55827..965fc9eae0f097177bb6d8cadd7627b06703512a 100644 (file)
@@ -290,6 +290,7 @@ static int load_config(void)
                else
                        ast_free(tableptr);
        }
+       ast_config_destroy(cfg);
        return res;
 }