forked from enlightenment/efl
eo_cxx: Fix leakage of eo objects by removing unnecessary "eo_ref"
Removed the call to eo_ref in the conversion from eo::base to the native Eo* (in "to_c" function) in order to avoid eo objects being leaked.
This commit is contained in:
parent
132abc3534
commit
2b94d874fe
|
@ -16,7 +16,7 @@ namespace efl { namespace eolian {
|
||||||
inline Eo*
|
inline Eo*
|
||||||
to_c(efl::eo::base const& x)
|
to_c(efl::eo::base const& x)
|
||||||
{
|
{
|
||||||
return ::eo_ref(x._eo_ptr());
|
return x._eo_ptr();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline const char*
|
inline const char*
|
||||||
|
|
Loading…
Reference in New Issue