GeminiGraph
GeminiGraph copied to clipboard
may the gcc not surpported
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。