fixed segmentation fault due to null pointer
This commit is contained in:
parent
4b06f9f265
commit
406051ea4e
|
@ -16,7 +16,7 @@ dnl ===========================
|
|||
dnl initialize & set some vars
|
||||
dnl ===========================
|
||||
|
||||
AC_INIT(strongSwan,4.5.2dr5)
|
||||
AC_INIT(strongSwan,4.5.2dr6)
|
||||
AM_INIT_AUTOMAKE(tar-ustar)
|
||||
AC_CONFIG_MACRO_DIR([m4/config])
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
|
|
@ -83,9 +83,9 @@ plugin_t *eap_sim_file_plugin_create()
|
|||
},
|
||||
},
|
||||
.triplets = eap_sim_file_triplets_create(TRIPLET_FILE),
|
||||
.provider = eap_sim_file_provider_create(this->triplets),
|
||||
);
|
||||
|
||||
this->provider = eap_sim_file_provider_create(this->triplets);
|
||||
if (!this->provider)
|
||||
{
|
||||
this->triplets->destroy(this->triplets);
|
||||
|
|
Loading…
Reference in New Issue