标签
-
Linux中内存泄漏的检测(五):记录内存泄漏的代码
int line)allocation_t *alloc = (allocation_t *)malloc(sizeof(allocation_t));
-
应用Valgrind 发现Linux程序的内存问题(转)
使用Valgrind可以帮助我们发现程序中存在的内存问题。本文将介绍如何使用Valgrind来发现Linux程序中可能存在的内存泄漏和其他问题。
int line)allocation_t *alloc = (allocation_t *)malloc(sizeof(allocation_t));
使用Valgrind可以帮助我们发现程序中存在的内存问题。本文将介绍如何使用Valgrind来发现Linux程序中可能存在的内存泄漏和其他问题。