The best way to avoid freeing memory in a handler is to flag or record the objects to be freed and have the program check from time to time whether anything is waiting to be freed.
避免在处理器中释放内存的最好方法是,标记或记录将要释放的对象,让程序不间断地检查是否有等待被释放的内存。
By changing this flag, you can instruct the debug heap to check for memory leaks when the program exits and report any leaks that are detected.
您可以变更这个旗标,来指示侦错堆积在程序结束时检查记忆体遗漏,并且报告任何侦测到的遗漏。
By changing this flag, you can instruct the debug heap to check for memory leaks when the program exits and report any leaks that are detected.
您可以变更这个旗标,来指示侦错堆积在程序结束时检查记忆体遗漏,并且报告任何侦测到的遗漏。
应用推荐