Skip to content

Commit

Permalink
To avoid memory corruption with debug runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
intorr committed Dec 8, 2017
1 parent 1b897a2 commit c47e323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/ResourceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void CResourceManager::_ParseList(sh_list& dest, LPCSTR names)
if (nullptr == names || 0 == names[0])
names = "$null";

ZeroMemory(&dest, sizeof(dest));
dest.clear();
char* P = (char*)names;
svector<char, 128> N;

Expand Down

0 comments on commit c47e323

Please sign in to comment.