Just switched to as 2.24.0 and got a memory leak in the library.
In angelscript\source\as_builder.cpp(3438)
signature = asNEW(sExplicitSignature);
This allocation is later passed to RegisterScriptFunctionWithSignature, but if the virtual property is an interface, it is not going to be stored and therefore not going to be freed.
3 replies to this topic
Sponsor:
#2 Moderators - Reputation: 2312
Posted 16 August 2012 - 06:33 AM
Thanks. I'll have this fixed.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
#3 Moderators - Reputation: 2312
Posted 16 August 2012 - 05:18 PM
Fixed in revision 1394.
Regards,
Andreas
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game






