fixed segmentation fault due to null pointer

This commit is contained in:
Andreas Steffen committed 2011-04-22 10:11:16 +02:00
1 parent 4b06f9f265
commit 406051ea4e
2 files changed
+2 -2

No files matched your search

@@ -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);