Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KIO Extras
Commits
5d34421d
Commit
5d34421d
authored
Nov 27, 2020
by
Ahmad Samir
Browse files
kio_nfs: delete can be safely called on a nullptr
parent
752651a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
nfs/kio_nfs.cpp
View file @
5d34421d
...
...
@@ -73,9 +73,7 @@ NFSSlave::NFSSlave(const QByteArray& pool, const QByteArray& app)
}
NFSSlave
::~
NFSSlave
()
{
if
(
m_protocol
!=
nullptr
)
{
delete
m_protocol
;
}
delete
m_protocol
;
}
void
NFSSlave
::
openConnection
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment