From a2f5c86061947125e9d62e5a7817d7e13c2e42d4 Mon Sep 17 00:00:00 2001 From: Yu Jiung Date: Fri, 17 Jun 2016 11:37:17 +0900 Subject: [PATCH] Fix SVACE issue 98800 Change-Id: I4f01f47475bdb95c8be5f84d0cfaf9c0e784b20b Signed-off-by: Yu jiung --- packaging/wifi-direct-manager.spec | 2 +- plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/wifi-direct-manager.spec b/packaging/wifi-direct-manager.spec index 333cfcb..0bc4e4d 100755 --- a/packaging/wifi-direct-manager.spec +++ b/packaging/wifi-direct-manager.spec @@ -1,6 +1,6 @@ Name: wifi-direct-manager Summary: Wi-Fi Direct manger -Version: 1.2.176 +Version: 1.2.177 Release: 1 Group: Network & Connectivity/Wireless License: Apache-2.0 diff --git a/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c b/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c index b9923bb..5ec3c4d 100755 --- a/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c +++ b/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c @@ -2284,7 +2284,8 @@ static void _ws_process_service_asp_response(GDBusConnection *connection, __WDP_LOG_FUNC_ENTER__; GVariantIter *iter = NULL; wfd_oem_event_s event; - wfd_oem_asp_service_s *service, *tmp; + wfd_oem_asp_service_s *service = NULL; + wfd_oem_asp_service_s *tmp = NULL; service = (wfd_oem_asp_service_s *) g_try_malloc0(sizeof(wfd_oem_asp_service_s)); if (!service) { -- 2.7.4