leetcode报错之 ERROR: AddressSanitizer: attempting double-free on 0x7fa0cd690800 in thread T0: …
背景 在写 #173二叉搜索树迭代器 的时候,遇到了如下报错: 报错内容 ================================================================= ==45==ERROR: AddressSanitizer: attempting double-free on 0x7fa0cd690800 in thread T0: #0 0x7fa0cc…