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

            Bug ID: 372347
           Summary: Redirecting new but not delete
           Product: valgrind
           Version: 3.12 SVN
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: ch...@hichris.com
  Target Milestone: ---

I am creating custom new/delete operators which will then be forwarded to the
stdlib malloc/free functions. However, when I run this, Valgrind will redirect
the new operator, but not delete. This results in a Mismatched free() / delete
/ delete[] error.

In my case, I do NOT want Valgrind to replace the new operator.

See my question on Stackoverflow for my information (also see comments):
https://stackoverflow.com/questions/40509986/valgrind-reporting-mismatched-free-delete-delete

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

Reply via email to