Change-Id: Icf38109953a50695b168fc14e6ae37b489fb9c66
Name: capi-network-softap
Summary: Softap Framework
-Version: 0.0.28
+Version: 0.0.29
Release: 1
Group: System/Network
License: Apache-2.0
if (!g_utf8_validate(ssid, -1, (const char **)&end))
*end = '\0';
+ free(device_name);
+
return SOFTAP_ERROR_NONE;
}
char *ptr_tmp = NULL;
ptr = vconf_get_str(path);
- if (ptr == NULL || strlen(ptr) == 0)
+ if (ptr == NULL || strlen(ptr) == 0) {
+ free(ptr);
return false;
+ }
if (!g_utf8_validate(ptr, -1, (const char **)&ptr_tmp))
*ptr_tmp = '\0';