diff options
Diffstat (limited to 'qt-models/diveplotdatamodel.cpp')
-rw-r--r-- | qt-models/diveplotdatamodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index d89ab6f31..164cd04a4 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -14,6 +14,11 @@ DivePlotDataModel::DivePlotDataModel(QObject *parent) : memset(&plot_deco_state, 0, sizeof(struct deco_state)); } +DivePlotDataModel::~DivePlotDataModel() +{ + free_plot_info_data(&pInfo); +} + int DivePlotDataModel::columnCount(const QModelIndex&) const { return COLUMNS; |