This may be a separate issue, but when I register the AddressList class I get three memory leaks. The memory that leaks was allocated during the registration of "AddressList& opAssign(const AddressList&in)".
as_scriptengine.cpp, 88 bytes @ line 2610 (asSSystemFunctionInterface), 288 bytes @ line 2614 (asCScriptFunction)
// Put the system function in the list of system functions
asSSystemFunctionInterface *newInterface = asNEW(asSSystemFunctionInterface)(internal);
if( newInterface == 0 )
return ConfigError(asOUT_OF_MEMORY, "RegisterObjectMethod", objectType->name.AddressOf(), declaration);
asCScriptFunction *func = asNEW(asCScriptFunction)(this, 0, asFUNC_SYSTEM);
as_builder.cpp, 32 bytes @ line 997
// Preallocate memory
func->parameterTypes.Allocate(paramCount, false);
func->inOutFlags.Allocate(paramCount, false);
func->defaultArgs.Allocate(paramCount, false);
if( paramAutoHandles ) paramAutoHandles->Allocate(paramCount, false);