projects
/
project
/
rpcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9a6bfa1
)
uci: unload package on revert
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 17 May 2015 12:13:02 +0000
(14:13 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 17 May 2015 12:13:02 +0000
(14:13 +0200)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
uci.c
patch
|
blob
|
history
diff --git
a/uci.c
b/uci.c
index acbbfd808c6139f5e8b7a8768c53d6476dd8da27..8b5dafdac8d4620e73719d41eeaac98701b324d1 100644
(file)
--- a/
uci.c
+++ b/
uci.c
@@
-1150,7
+1150,10
@@
rpc_uci_revert_commit(struct ubus_context *ctx, struct blob_attr *msg, bool comm
else
{
if (!uci_lookup_ptr(cursor, &ptr, NULL, true) && ptr.p)
+ {
uci_revert(cursor, &ptr);
+ uci_unload(cursor, ptr.p);
+ }
}
return rpc_uci_status();