address sanitizer not detecting memory leaks in a simple c++ program

后端 未结 0 1078
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-02 17:35

I am a bit confused as why address sanitizer is not detecting an obvious memory leak and I am not sure what I am doing wrong.

my code:

#include 

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题