implement more suggestions by lorenz schori
[project/uci.git] / cli.c
diff --git a/cli.c b/cli.c
index 85fab6f..b7ddd51 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -107,13 +107,13 @@ int main(int argc, char **argv)
 {
        int ret;
 
-       ctx = uci_alloc();
+       ctx = uci_alloc_context();
        if (argc < 2)
                uci_usage(argc, argv);
        ret = uci_cmd(argc - 1, argv + 1);
        if (ret == 255)
                uci_usage(argc, argv);
-       uci_free(ctx);
+       uci_free_context(ctx);
 
        return ret;
 }