From 4137095ecfbe2e7fd35b0248d9984705115306ec Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sat, 13 Apr 2024 13:50:06 -0700 Subject: [PATCH] Hopefully fix segmentation fault. --- backends/ui/gtk/main_window.cpp | 2 -- 1 file changed, 2 deletions(-) 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()) {