fix leaks
Fix memory leaks and cleanup the code a bit. Generally, kcrash seems to be pretty bad from a code quality POV :(
I believe for example that KCrash::setErrorMessage
is completely useless, as the s_kcrashErrorMessage
is only stored but never read from? Can we remove it?