Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4999 Discussions

Mismatched allocation/deallocation

Zhanghong_T_
Novice
362 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
362 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.

0 Kudos
Reply