在项目里面导入vld.h头文件即可测试代码如下#include "stdio.h"#include "vld.h"int main(){int *a = new int;//申请内存,不进行释放return 0;}