mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +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()
|
&& !url->path.empty()
|
||||||
);
|
);
|
||||||
|
|
||||||
delete url;
|
delete url; url = nullptr;
|
||||||
|
|
||||||
// Toggle update button sensibility
|
// Toggle update button sensibility
|
||||||
update->set_sensitive(
|
update->set_sensitive(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue