mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
fix some memleaks in DiscIO. Fix for issue 1238.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3936 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -39,7 +39,7 @@ struct SFileInfo
|
||||
|
||||
SFileInfo(const SFileInfo &rhs) : m_NameOffset(rhs.m_NameOffset),
|
||||
m_Offset(rhs.m_Offset), m_FileSize(rhs.m_FileSize) {
|
||||
strcpy(m_FullPath, rhs.m_FullPath);
|
||||
memcpy(m_FullPath, rhs.m_FullPath, strlen(rhs.m_FullPath));
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user