move export functionality to libuci
[project/uci.git] / libuci.c
index 4a06d71..47c815a 100644 (file)
--- a/libuci.c
+++ b/libuci.c
@@ -109,7 +109,7 @@ void uci_free(struct uci_context *ctx)
 int uci_cleanup(struct uci_context *ctx)
 {
        UCI_HANDLE_ERR(ctx);
-       uci_parse_cleanup(ctx);
+       uci_file_cleanup(ctx);
        return 0;
 }