wifi_authdata = __netconfig_wifi_free_wifi_authdata(wifi_authdata);
wifi_authdata = g_try_new0(struct wifii_authentication_data, 1);
+ if (wifi_authdata == NULL) {
+ ERR("failed to allocate memory");
+ return;
+ }
TelSimAuthenticationResponse_t *auth_resp =
(TelSimAuthenticationResponse_t *) data;
wifi_authdata = __netconfig_wifi_free_wifi_authdata(wifi_authdata);
wifi_authdata = g_try_new0(struct wifii_authentication_data, 1);
+ if (wifi_authdata == NULL) {
+ ERR("failed to allocate memory");
+ return;
+ }
TelSimAuthenticationResponse_t *auth_resp =
(TelSimAuthenticationResponse_t *) data;