-/*
- * mono-security-windows.c: Windows security support.
+/**
+ * \file
+ * Windows security support.
*
* Copyright 2016 Microsoft
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
result = mono_string_new_utf16_checked (mono_domain_get (), uniname, size, &error);
}
else
- result = mono_string_new (mono_domain_get (), "");
+ result = mono_string_new_checked (mono_domain_get (), "", &error);
if (uniname)
g_free (uniname);