Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Memory leak

Started by chewbakka Aug 16, 2012 at 9:20 AM 2 replies 1.4k views
Original Post
chewbakka
chewbakka
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.
WitchLord
WitchLord
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 - <a href="http://www.angelcode.com/tower" rel
WitchLord
WitchLord
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 - <a href="http://www.angelcode.com/tower" rel
chewbakka
chewbakka
Thank you.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.