The function frees memory occupied by the string buffer the parameter points to. The memory must be allocated by one of the Chusov::Memory or Chusov::String allocation functions.
Parameters
[in]
lpszString
is a pointer to the string buffer to free.
Remarks
The Chusov::Memory namespace provides analogous functions for multibyte strings for every wide string counterpart. The analogues are declared with an 'A' (instead of 'W') suffix at the end of the name, e.g. AllocateStringA, FreeStringA, etc.
Warning
The function should not be used to free sensitive data because it operates without suiting any security requirements. Instead use the functions randomizing the memory before it is freed, such as SecureFreeData, SecureFreeStringW, etc.