diff --git a/backends/ui/gtk/main_window.cpp b/backends/ui/gtk/main_window.cpp index 05956e2..32064a0 100644 --- a/backends/ui/gtk/main_window.cpp +++ b/backends/ui/gtk/main_window.cpp @@ -42,9 +42,7 @@ void MainWindow::update_file(optional new_file) { } int i = 0; for (auto row : stream_selection_box.get_children()) { - int *data = (int*)row->get_data(Glib::Quark("id")); row->remove_data(Glib::Quark("id")); - delete data; } stream_selection_box.remove_all(); for (auto &stream : playback->get_streams()) {