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

            Bug ID: 363845
           Summary: Use of pointer after deallocation
           Product: krita
           Version: unspecified
          Platform: unspecified
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Tools
          Assignee: krita-bugs-n...@kde.org
          Reporter: maddin...@aol.com

krita-master\libs\vectorimage\libwmf\WmfPainterBackend.cpp line 84
Code:
  if (mPainter && mIsInternalPainter)
        delete mPainter;

    mTarget = mPainter->device();

Reproducible: Always




better:

if (mPainter != NULL)
{
  mTarget = mPainter->device();
}

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

Reply via email to