mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
set nullptr after delete
This commit is contained in:
parent
5cfc084a53
commit
35b9f74268
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ void Navbar::refresh()
|
|||
&& !url->path.empty()
|
||||
);
|
||||
|
||||
delete url;
|
||||
delete url; url = nullptr;
|
||||
|
||||
// Toggle update button sensibility
|
||||
update->set_sensitive(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue