aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r--src/jalv_qt.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp
index aa6aea4..582361f 100644
--- a/src/jalv_qt.cpp
+++ b/src/jalv_qt.cpp
@@ -422,6 +422,7 @@ Control::Control(PortContainer portContainer, QWidget* parent)
} else {
steps = DIAL_STEPS;
}
+ lilv_node_free(stepsNode);
// Fill scalePoints Map
LilvScalePoints* sp = lilv_port_get_scale_points(plugin, lilvPort);
@@ -654,11 +655,13 @@ build_control_widget(Jalv* jalv)
} else {
layout->addWidget(control);
}
+ lilv_node_free(lastGroup);
lastGroup = group;
uint32_t index = lilv_port_get_index(plugin, port->lilv_port);
jalv->ports[index].widget = control;
}
+ lilv_node_free(lastGroup);
grid->setLayout(layout);