summaryrefslogtreecommitdiff
path: root/ord.cxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-07 18:44:13 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-07 18:44:13 +0800
commitfa11214a4e9181cff9f29e5774e09004ac5acfea (patch)
treed337d876d287d19d303709ff32639dc7cbaf6b4a /ord.cxx
parent2fbcfe27235a0852dce3d0ace748c639495d6092 (diff)
Order free-er API changed
Diffstat (limited to 'ord.cxx')
-rw-r--r--ord.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/ord.cxx b/ord.cxx
index 4b3577b..0d8f6eb 100644
--- a/ord.cxx
+++ b/ord.cxx
@@ -17,6 +17,11 @@ namespace QInterchange {
ord = this;
}
+ Ord::~Ord()
+ {
+ if (m_data) interchange_ord_free_order(m_data);
+ }
+
int Ord::rowCount(QModelIndex const& parent) const
{
Q_UNUSED(parent)