mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
Merge pull request #780 from dnobori/181029_fixmemoryleak
Merge PR #780: Fix a single memory leak in loading the string table
This commit is contained in:
commit
b5125e566c
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,6 +25,7 @@ x64_Debug
|
|||||||
*.user
|
*.user
|
||||||
*.ncb
|
*.ncb
|
||||||
*.opt
|
*.opt
|
||||||
|
*.suo
|
||||||
!/src/BuildFiles/**/*
|
!/src/BuildFiles/**/*
|
||||||
|
|
||||||
# Applied for 'developer_tools/stbchecker/'
|
# Applied for 'developer_tools/stbchecker/'
|
||||||
@ -204,3 +205,4 @@ developer_tools/stbchecker/**/ASALocalRun/
|
|||||||
developer_tools/stbchecker/**/*.binlog
|
developer_tools/stbchecker/**/*.binlog
|
||||||
developer_tools/stbchecker/**/*.nvuser
|
developer_tools/stbchecker/**/*.nvuser
|
||||||
developer_tools/stbchecker/**/.mfractor/
|
developer_tools/stbchecker/**/.mfractor/
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user