Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4682 Discussions

Mismatched allocation/deallocation

Zhanghong_T_
Novice
113 Views

Dear all,

I use Inspector to check memory problem in my code. I don't under the error:

Mismatched allocation/deallocation

as shown in attached figure.

Could anyone help me to take a look at it? How to correct the code?

Thanks,

Tang Laoya

 

0 Kudos
1 Reply
Peter_W_Intel
Employee
113 Views

According to helper: Mismatched Allocation / Deallocation occurs when a deallocation is attempted with a function that is not the logical reflection of the allocator used. Please see this page to know detail. If you feel you got wrong report, can you please give inspector' result, with small test code. Thank you.

Reply