Fixed memory leak

preferencesAboutTextFull
Anna Udovichenko 13 years ago
parent 812c3cafce
commit 51e9096449
  1. 10
      src/gui/UBFeaturesWidget.cpp

@ -605,6 +605,16 @@ void UBFeatureProperties::onAddToPage()
UBFeatureProperties::~UBFeatureProperties()
{
if ( mpOrigPixmap )
{
delete mpOrigPixmap;
mpOrigPixmap = NULL;
}
if ( mpElement )
{
delete mpElement;
mpElement = NULL;
}
}
UBFeatureItemButton::UBFeatureItemButton(QWidget *parent, const char *name):QPushButton(parent)

Loading…
Cancel
Save