安装scan-build等Clang工具:sudo apt install clang-tidy
http://blog.csdn.net/adream307/article/details/27801831
scan-build -o memleak gcc memleak.c -o m
安装scan-build等Clang工具:sudo apt install clang-tidy
http://blog.csdn.net/adream307/article/details/27801831
scan-build -o memleak gcc memleak.c -o m