mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +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()
|
&& !url->path.empty()
|
||||||
);
|
);
|
||||||
|
|
||||||
delete url;
|
delete url; url = nullptr;
|
||||||
|
|
||||||
// Toggle update button sensibility
|
// Toggle update button sensibility
|
||||||
update->set_sensitive(
|
update->set_sensitive(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user