ubusd: fix a memory leak on user/group client info
[project/ubus.git] / ubusd_proto.c
index baf3eb63459a92209a278d42b638ad10cb52cbba..0af11f2742d10eb7af069d521842fc668815607d 100644 (file)
@@ -500,6 +500,7 @@ void ubusd_proto_free_client(struct ubus_client *cl)
                ubusd_free_object(obj);
        }
 
+       ubusd_acl_free_client(cl);
        ubus_free_id(&clients, &cl->id);
 }