Jump to content

  • Log In with Google      Sign In   
  • Create Account

- - - - -

Memory leak


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 brumi   Members   -  Reputation: 171

Like
0Likes
Like

Posted 16 August 2012 - 03:20 AM

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.

Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3370

Like
1Likes
Like

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

#3 Andreas Jonsson   Moderators   -  Reputation: 3370

Like
1Likes
Like

Posted 16 August 2012 - 05:18 PM

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

#4 brumi   Members   -  Reputation: 171

Like
0Likes
Like

Posted 17 August 2012 - 01:01 AM

Thank you.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS