Hopefully fix segmentation fault.
This commit is contained in:
parent
2b31c8b1b2
commit
4137095ecf
1 changed files with 0 additions and 2 deletions
|
@ -42,9 +42,7 @@ void MainWindow::update_file(optional<std::string> 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()) {
|
||||
|
|
Loading…
Reference in a new issue