Fix Prevent issue WGID : 36901
[platform/core/connectivity/zigbee-manager.git] / zigbee-daemon / zigbee-lib / src / zblib_service.c
index 61b2025..f512514 100644 (file)
@@ -458,7 +458,7 @@ gboolean zblib_service_initialize_plugins(ZigBeeService *service)
                        /* If there is no initializer, it should have asynchronous one */
                        const ZblibPluginDescriptor_t *descriptor =
                                        zblib_plugin_get_descriptor(plugin);
-                       if (NULL != descriptor->init_async) {
+                       if (NULL != descriptor && NULL != descriptor->init_async) {
                                /* Register async initializer */
                                struct _zblib_async_init_info *info =
                                        g_try_new0(struct _zblib_async_init_info, 1);