Change-Id: I8c1a29a06bb8e83f0725a56a8b2ba388e636a566
Signed-off-by: cheoleun <chleun.moon@samsung.com>
Name: capi-network-wifi-manager
Summary: Network Wi-Fi library in TIZEN C API
-Version: 1.0.14
+Version: 1.0.15
Release: 1
Group: System/Network
License: Apache-2.0
if (g_str_has_prefix(obj, service_prefix) == TRUE) {
ProfInfo = g_try_malloc0(sizeof(net_profile_info_s));
+ if (ProfInfo == NULL) {
+ WIFI_LOG(WIFI_ERROR, "Failed to allocate memory");
+ goto error;
+ }
if ((Error = net_init_profile_info(ProfInfo)) != NET_ERR_NONE) {
WIFI_LOG(WIFI_ERROR, "Failed to init profile");