1
0
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:
Daiyuu Nobori 2018-10-29 14:48:15 +09:00
parent 18f7bfe33f
commit 4e4db36c11

View File

@ -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);