mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-15 20:25:00 +03:00
Fix a single memory leak in loading the string table.
This commit is contained in:
@ -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);
|
UniReplaceStrEx(tmp, tmp_size, tmp, (wchar_t *)r->name, r->unistr, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Free(unistr);
|
||||||
|
|
||||||
unistr = CopyUniStr(tmp);
|
unistr = CopyUniStr(tmp);
|
||||||
|
|
||||||
Free(tmp);
|
Free(tmp);
|
||||||
|
Reference in New Issue
Block a user