Luabind Issue in release_ownership function

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Luabind Issue in release_ownership function

Nitin Jain
Samsung Enterprise Portal mySingle

Hi users,

I have found a Memory leak issue in luabind :

 

In file ./luabind/detail/instance_holder.hpp

template <class T>
void release_ownership(std::auto_ptr<T>& p)
{
    p.release();
}

Here p.release() returns a pointer which is getting leak.

Please look into the issue and share your important views.

 

Thanks!!!


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user