ubus: add notification for subscribers present/gone
[project/ubus.git] / libubus-obj.c
index 532a7fa..cf50904 100644 (file)
@@ -17,7 +17,7 @@
 void __hidden ubus_process_invoke(struct ubus_context *ctx, struct ubus_msghdr *hdr)
 {
        struct blob_attr **attrbuf;
-       struct ubus_request_data req;
+       struct ubus_request_data req = {};
        struct ubus_object *obj;
        int method;
        int ret = 0;