blobmsg_add_string_buffer(&buf);
ubus_send_reply(ctx, req, buf.head);
+ blob_buf_free(&buf);
rv = UBUS_STATUS_OK;
out:
blobmsg_close_array(&buf, c);
ubus_send_reply(ctx, req, buf.head);
+ blob_buf_free(&buf);
return 0;
}
blobmsg_add_u32(&buf, "gid", s.st_gid);
ubus_send_reply(ctx, req, buf.head);
+ blob_buf_free(&buf);
return 0;
}
rpc_ustream_to_blobmsg(&c->epipe.stream, "stderr");
ubus_send_reply(c->context, &c->request, buf.head);
+ blob_buf_free(&buf);
}
ubus_complete_deferred_request(c->context, &c->request, rv);