Open abasi20 opened 3 years ago
my gcc's version is 11.2.1. when the process end, it will raise a segment fault. following the code , it found that freeing curr or next buffers will return a pointer of type T, the compiler may access the mem, resulting in a segment.
modify the return value as void。
my gcc's version is 11.2.1. when the process end, it will raise a segment fault. following the code , it found that freeing curr or next buffers will return a pointer of type T, the compiler may access the mem, resulting in a segment.
modify the return value as void。