diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-26 10:10:39 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-26 10:10:39 +0100 |
commit | 619f3a160de4f417226b69039538882787b3811c (patch) | |
tree | 6264896bcb9017269245005ba632d22fe6a3ba30 /ubusd_proto.c | |
parent | 8bb34756ce2bd684745d3a49a134dae03073b452 (diff) | |
download | ubus-619f3a160de4f417226b69039538882787b3811c.tar.gz |
ubusd: fix a memory leak on user/group client info
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'ubusd_proto.c')
-rw-r--r-- | ubusd_proto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ubusd_proto.c b/ubusd_proto.c index baf3eb6..0af11f2 100644 --- a/ubusd_proto.c +++ b/ubusd_proto.c @@ -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); } |