我如何使用valgrind来查找内存泄漏?
我正在使用Ubuntu 10.04
发布于 2018-02-02 16:01:17
尝试这个:
valgrind --leak-check=full -v ./your_program
发布于 2018-02-02 16:59:34
你可以运行:
valgrind --leak-check=full --log-file="logfile.out" -v [your_program(and its arguments)]
https://stackoverflow.com/questions/-100005240
复制相似问题