Memory leak

Started by
2 comments, last by chewbakka 11 years, 8 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.
Advertisement
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

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