mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
Fixed memory leak detected by valgrind
This commit is contained in:
committed by
Mathew Sutcliffe
parent
804fef86d8
commit
95beb61518
@@ -17,6 +17,7 @@
|
||||
#include "blackmisc/aviation/airlineicaocode.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QScopedPointer>
|
||||
#include <QString>
|
||||
|
||||
class QCompleter;
|
||||
@@ -65,7 +66,7 @@ namespace BlackGui
|
||||
void ps_dataChanged();
|
||||
|
||||
private:
|
||||
Ui::CDbAirlineIcaoSelectorComponent *ui;
|
||||
QScopedPointer<Ui::CDbAirlineIcaoSelectorComponent> ui;
|
||||
};
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user