mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Merge pull request #861 from devmapal/master
Fixes segmentation fault on exiting rpcs3
This commit is contained in:
commit
4f30e014a4
1 changed files with 11 additions and 0 deletions
|
@ -333,6 +333,17 @@ public:
|
|||
});
|
||||
}
|
||||
|
||||
InstrBase(const InstrBase &source)
|
||||
: InstrCaller<TO>(source)
|
||||
, m_name(source.m_name)
|
||||
, m_opcode(source.m_opcode)
|
||||
, m_args_count(source.m_args_count)
|
||||
, m_args(source.m_args_count ? new CodeFieldBase*[source.m_args_count] : nullptr)
|
||||
{
|
||||
for(int i = 0; i < source.m_args_count; ++i)
|
||||
m_args[i] = source.m_args[i];
|
||||
}
|
||||
|
||||
virtual ~InstrBase()
|
||||
{
|
||||
if (m_args) {
|
||||
|
|
Loading…
Add table
Reference in a new issue