summaryrefslogtreecommitdiff
path: root/libuci.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-20 23:03:00 +0100
committerFelix Fietkau <nbd@openwrt.org>2008-01-20 23:03:00 +0100
commitf7df28b4d0155c780fa46a09d2dbcf7825faebae (patch)
tree0efc47de0f00eeb5f15c56ecf9bffd4fa15514a9 /libuci.c
parent143aee566ef51011e45f66e2a18c8361270ac31f (diff)
downloaduci-f7df28b4d0155c780fa46a09d2dbcf7825faebae.tar.gz
implement config unload
Diffstat (limited to 'libuci.c')
-rw-r--r--libuci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libuci.c b/libuci.c
index 1902673..ada75c0 100644
--- a/libuci.c
+++ b/libuci.c
@@ -100,7 +100,7 @@ void uci_free(struct uci_context *ctx)
uci_cleanup(ctx);
uci_foreach_entry(config, &ctx->root, cfg) {
- uci_drop_file(cfg);
+ uci_drop_config(cfg);
}
free(ctx);
return;