Skip to content

Commit

Permalink
[eListboxservice] Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos authored and littlesat committed Sep 12, 2018
1 parent 5a5473e commit 710ac12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/listboxservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ void eListboxServiceContent::paint(gPainter &painter, eWindowStyle &style, const
tmp.setWidth(((!isPlayable || m_column_width == -1 || (!piconPixmap && !m_column_width)) ? tmp.width() : m_column_width) - xoffs);
}

eTextPara *para = new eTextPara(tmp);
ePtr<eTextPara> para = new eTextPara(tmp);
para->setFont(m_element_font[e]);
para->renderString(text.c_str());

Expand Down

0 comments on commit 710ac12

Please sign in to comment.