内存泄流检测 valgrind --track-fds=yes --leak-check=full --undef-value-errors=yes ./a.out 转载于:https://www.cnblogs.com/practicer/p/3644046.html