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 wide strings for every counterpart working with multibyte strings. The analogues are declared with a 'W' (instead of 'A') suffix at the end of the name, e.g. AllocateStringW, FreeStringW, 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, SecureFreeStringA, etc.