info = new LeakInfo("delete", LeakDetector.API_TYPE_CLOSE, true);
leakCheckList.put("delete", info);
+ /** new - delete full signature */
+ info = new LeakInfo("void *operator new(std::size_t size) throw (std::bad_alloc)",
+ LeakDetector.API_TYPE_OPEN, true);
+ leakCheckList.put("void *operator new(std::size_t size) throw (std::bad_alloc)", info);
+ info = new LeakInfo("void operator delete(void *ptr) throw()",
+ LeakDetector.API_TYPE_CLOSE, true);
+ leakCheckList.put("void operator delete(void *ptr) throw()", info);
+
+ info = new LeakInfo("void *operator new[](std::size_t size) throw (std::bad_alloc)",
+ LeakDetector.API_TYPE_OPEN, true);
+ leakCheckList.put("void *operator new[](std::size_t size) throw (std::bad_alloc)", info);
+ info = new LeakInfo("void operator delete[](void *ptr) throw()",
+ LeakDetector.API_TYPE_CLOSE, true);
+ leakCheckList.put("void operator delete[](void *ptr) throw()", info);
+
+ info = new LeakInfo("void *operator new(std::size_t size, const std::nothrow_t& nothrow) throw()",
+ LeakDetector.API_TYPE_OPEN, true);
+ leakCheckList.put("void *operator new(std::size_t size, const std::nothrow_t& nothrow) throw()", info);
+ info = new LeakInfo("void operator delete(void *ptr, const std::nothrow_t& nothrow) throw()",
+ LeakDetector.API_TYPE_CLOSE, true);
+ leakCheckList.put("void operator delete(void *ptr, const std::nothrow_t& nothrow) throw()", info);
+
+ info = new LeakInfo("void *operator new[](std::size_t size, const std::nothrow_t& nothrow) throw()",
+ LeakDetector.API_TYPE_OPEN, true);
+ leakCheckList.put("void *operator new[](std::size_t size, const std::nothrow_t& nothrow) throw()", info);
+ info = new LeakInfo("void operator delete[](void *ptr, const std::nothrow_t& nothrow) throw()",
+ LeakDetector.API_TYPE_CLOSE, true);
+ leakCheckList.put("void operator delete[](void *ptr, const std::nothrow_t& nothrow) throw()", info);
+
/** etc.. */
info = new LeakInfo("app_get_name", LeakDetector.API_TYPE_OPEN, false);
leakCheckList.put("app_get_name", info);