mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
set nullptr after delete
This commit is contained in:
parent
5cfc084a53
commit
35b9f74268
@ -103,7 +103,7 @@ void Navbar::refresh()
|
||||
&& !url->path.empty()
|
||||
);
|
||||
|
||||
delete url;
|
||||
delete url; url = nullptr;
|
||||
|
||||
// Toggle update button sensibility
|
||||
update->set_sensitive(
|
||||
|
Loading…
x
Reference in New Issue
Block a user