From: jh8801.jung Date: Thu, 28 Sep 2017 23:41:17 +0000 (+0900) Subject: Fix Prevent issue WGID : 36901 X-Git-Tag: accepted/tizen/unified/20170929.082113^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5cfe7fe1a3a014fdb6e4ca0ed15f1e93ca162194;p=platform%2Fcore%2Fconnectivity%2Fzigbee-manager.git Fix Prevent issue WGID : 36901 Signed-off-by: jh8801.jung Change-Id: Ic7df65b8c9cab89453f6b814825ba3e6690278fa --- diff --git a/zigbee-daemon/zigbee-lib/src/zblib_service.c b/zigbee-daemon/zigbee-lib/src/zblib_service.c index 045b651..c8c078b 100644 --- a/zigbee-daemon/zigbee-lib/src/zblib_service.c +++ b/zigbee-daemon/zigbee-lib/src/zblib_service.c @@ -457,7 +457,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);