[luabind] Luabind Issue in release_ownership function
Brought to you by:
arvidn,
daniel_wallin
From: Nitin J. <nit...@sa...> - 2015-11-24 08:02:58
|
<html><head><title>Samsung Enterprise Portal mySingle</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style id="mysingle_style" type="text/css">P { MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt; FONT-FAMILY: Arial, arial; MARGIN-TOP: 5px } TD { MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt; FONT-FAMILY: Arial, arial; MARGIN-TOP: 5px } LI { MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt; FONT-FAMILY: Arial, arial; MARGIN-TOP: 5px } BODY { FONT-SIZE: 9pt; FONT-FAMILY: Arial, arial; MARGIN: 10px; LINE-HEIGHT: 1.4 } </style> <meta http-equiv="X-UA-Compatible" content="IE=5"> <meta http-equiv="X-UA-Compatible" content="IE=5"> <meta name="GENERATOR" content="MSHTML 10.00.9200.17556"></head> <body> <p>Hi users,</p> <p>I have found a Memory leak issue in luabind :</p> <p> </p> <p>In file ./luabind/detail/instance_holder.hpp </p> <p>template <class T><br>void release_ownership(std::auto_ptr<T>& p)<br>{<br> p.release();<br>}<br></p> <p>Here p.release() returns a pointer which is getting leak.</p> <p>Please look into the issue and share your important views.</p> <p> </p> <p>Thanks!!!</p> <table id="confidentialsignimg"> <tbody> <tr> <td namo_lock=""> <p><img src="cid:A6X...@na..." border="0"></p></td></tr></tbody></table></body></html><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=d1c4c6a24968fb25e081ece56311f69730bef5bb275412ced7958ea385bb4703d0394d49cb338082f1bc9e894f4f495bed2705d6268c6898dd8aaa5ed8b0e8e4326bbdfb2ea96a2fcf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'> |