mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12: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()
|
virtual ~InstrBase()
|
||||||
{
|
{
|
||||||
if (m_args) {
|
if (m_args) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue