projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: rework/fix device free handling
[project/netifd.git]
/
ubus.c
diff --git
a/ubus.c
b/ubus.c
index 56cce8163cefa01f4fcf81a7b59addab0960ebd7..4770cb686534ae37f230b3067e638ed16373d1f1 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-291,7
+291,7
@@
netifd_handle_alias(struct ubus_context *ctx, struct ubus_object *obj,
return 0;
error:
- device_free_unused(
dev
);
+ device_free_unused();
return UBUS_STATUS_INVALID_ARGUMENT;
}