[commit] r1594 - trunk/SDK/BON/Common
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue Oct 11 10:10:01 CDT 2011
Author: ksmyth
Date: Tue Oct 11 10:10:00 2011
New Revision: 1594
Log:
Fix memory leak
Modified:
trunk/SDK/BON/Common/BONImpl.cpp
Modified: trunk/SDK/BON/Common/BONImpl.cpp
==============================================================================
--- trunk/SDK/BON/Common/BONImpl.cpp Tue Oct 11 10:09:49 2011 (r1593)
+++ trunk/SDK/BON/Common/BONImpl.cpp Tue Oct 11 10:10:00 2011 (r1594)
@@ -1561,7 +1561,7 @@
//###############################################################################################################################################
RegistryNodeImpl::RegistryNodeImpl( IMgaRegNode* spNode, ObjectImpl* pObject )
- : Util::GenRefCounted( _isAddOn(), pObject ), m_spNode( spNode ), m_pObject( pObject )
+ : Util::GenRefCounted( !_isAddOn(), pObject ), m_spNode( spNode ), m_pObject( pObject )
{
pObject->m_mapNodes.insert( ObjectImpl::RegistryMap::value_type( spNode, this ) );
}
More information about the gme-commit
mailing list