Advertisement

Memory leak

Started by August 16, 2012 09:20 AM
2 comments, last by chewbakka 12 years, 3 months ago
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.
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

Advertisement
Fixed in revision 1394.

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

Thank you.

This topic is closed to new replies.

Advertisement