mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Fix a single memory leak in loading the string table.
This commit is contained in:
parent
18f7bfe33f
commit
4e4db36c11
@ -945,6 +945,8 @@ TABLE *ParseTableLine(char *line, char *prefix, UINT prefix_size, LIST *replace_
|
||||
UniReplaceStrEx(tmp, tmp_size, tmp, (wchar_t *)r->name, r->unistr, false);
|
||||
}
|
||||
|
||||
Free(unistr);
|
||||
|
||||
unistr = CopyUniStr(tmp);
|
||||
|
||||
Free(tmp);
|
||||
|
Loading…
Reference in New Issue
Block a user