Browse Source

set nullptr after delete

CPP-GTK4
yggverse 3 months ago
parent
commit
35b9f74268
  1. 2
      src/app/browser/main/tab/data/navbar.cpp

2
src/app/browser/main/tab/data/navbar.cpp

@ -103,7 +103,7 @@ void Navbar::refresh()
&& !url->path.empty() && !url->path.empty()
); );
delete url; delete url; url = nullptr;
// Toggle update button sensibility // Toggle update button sensibility
update->set_sensitive( update->set_sensitive(

Loading…
Cancel
Save