bug fix: use after free

This commit is contained in:
canpadawan
2016-07-08 11:01:53 +02:00
parent 6cd79c7f71
commit 5162769712
3 changed files with 13 additions and 4 deletions
+9
View File
@@ -3,6 +3,15 @@
#include <QFile>
#include "utility.h"
CANFrameModel::~CANFrameModel()
{
frames.clear();
filteredFrames.clear();
filters.clear();
}
int CANFrameModel::rowCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);