summaryrefslogtreecommitdiff
path: root/interchange/ord.hxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-07 13:10:24 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-07 13:10:24 +0800
commit5049587a34347abc57aba06c2a2641931eb173e3 (patch)
tree95dfe1b5a46aaefc40bf45e45807f3c5e4333f16 /interchange/ord.hxx
parent393645a911a02a0f716027ab016756a71b922655 (diff)
Freeing the profile is libinterchange's job
Diffstat (limited to 'interchange/ord.hxx')
-rw-r--r--interchange/ord.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/interchange/ord.hxx b/interchange/ord.hxx
index 91a22c3..39f3282 100644
--- a/interchange/ord.hxx
+++ b/interchange/ord.hxx
@@ -41,7 +41,7 @@ namespace QInterchange {
m_totalCost{.0} {}
~Ord()
{
- if (m_data && m_data->profile) free(m_data->profile);
+ if (m_data) interchange_ord_free(m_data);
}
int rowCount(QModelIndex const& parent = QModelIndex()) const Q_DECL_OVERRIDE;
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const