[DEBUG] remove memory leek
This commit is contained in:
parent
3237d26474
commit
d88028a7dc
@ -149,7 +149,7 @@ void ewol::widget::Menu::onReceiveMessage(const ewol::object::Message& _msg) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// create a context menu :
|
// create a context menu :
|
||||||
m_widgetContextMenu = new ewol::widget::ContextMenu();
|
m_widgetContextMenu = ewol::object::makeShared(new ewol::widget::ContextMenu());
|
||||||
if (nullptr == m_widgetContextMenu) {
|
if (nullptr == m_widgetContextMenu) {
|
||||||
EWOL_ERROR("Allocation Error");
|
EWOL_ERROR("Allocation Error");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user