Commit e278fb69 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent fcd63fe7
......@@ -282,7 +282,7 @@ public:
}
js_wrapper<Type>& operator=(Type* pType)
{
if (NULL != m_pPointer)
if (NULL != m_pPointer && m_pPointer != pType)
delete m_pPointer;
m_pPointer = pType;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment