projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubusd: fix a memory leak on user/group client info
[project/ubus.git]
/
ubusd_acl.c
diff --git
a/ubusd_acl.c
b/ubusd_acl.c
index
15a58d8
..
85ada5d
100644
(file)
--- a/
ubusd_acl.c
+++ b/
ubusd_acl.c
@@
-174,6
+174,13
@@
ubusd_acl_init_client(struct ubus_client *cl, int fd)
return 0;
}
+void
+ubusd_acl_free_client(struct ubus_client *cl)
+{
+ free(cl->group);
+ free(cl->user);
+}
+
static void
ubusd_acl_file_free(struct ubusd_acl_file *file)
{