ret = dp->plugin_fn->set_host_name(dp->plugin_handle, host_name);
if (ret != VINE_DATA_PATH_ERROR_NONE) {
vine_data_path_destroy(dp);
+ _destroy_security_info(&ssl);
return __convert_data_path_error_to_vine_error((vine_data_path_error)ret);
}
}
ret = dp->plugin_fn->set_host_name(dp->plugin_handle, host_name);
if (ret != VINE_DATA_PATH_ERROR_NONE) {
vine_data_path_destroy(dp);
+ _destroy_security_info(&ssl);
return __convert_data_path_error_to_vine_error((vine_data_path_error)ret);
}
}