fix: free fqdn buffer

This commit is contained in:
Mudit Vats committed 2021-02-11 10:28:16 -07:00
1 parent 2fb64ac3f8
commit b1f7b32baa
1 file changed
+1
+1
View File
@@ -200,6 +200,7 @@ bool cmd_get_fqdn(fqdn_settings& fqdn_settings)
if (fqdn.FQDN.Length > 0)
{
fqdn_settings.fqdn = std::string(fqdn.FQDN.Buffer, fqdn.FQDN.Length);
free(fqdn.FQDN.Buffer);
}
return true;