Implemented publish/subscribe lua bindings to libubus-lua with example lua files.
[project/ubus.git] / ubusd_acl.c
index 15a58d8b2cd659eb97fe2a47f61101a128dcf2e1..85ada5dc87904207e8f002a28548c67072c95f9d 100644 (file)
@@ -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)
 {