https://bugs.kde.org/show_bug.cgi?id=464747

--- Comment #7 from Ian H <master.ha...@gmail.com> ---
(In reply to Igor Kushnir from comment #6)
> (In reply to Sven Brauch from comment #5)
> > The code in question is so trivial that it's very unlikely to be related to
> > that code. This snippet occurs in pretty much every C++ file in every
> > project.
> The snippet should not occur in every C++ file. Not only does it use raw
> delete, which is discouraged in modern C++. It also redundantly checks for
> null as deleting nullptr is a no-op.
> 
> That said, I agree that the snippet in itself is unlikely to cause a crash
> in any released libclang or KDevelop version.

that may be the case, but it happens quite often for me when i do that exact
line of code. i noticed this because i was purposely trying to crash my program
to test a crash handler and it crashed kdevelop when i added the delete.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to