cel_odbc: Fix memory leak on module unload
[asterisk/asterisk.git] / cel / cel_odbc.c
index 3c0be04..a10aada 100644 (file)
@@ -291,6 +291,7 @@ static int load_config(void)
                else
                        ast_free(tableptr);
        }
+       ast_config_destroy(cfg);
        return res;
 }