掌握 Linux 调试技术 ptr1 = malloc(512);ptr2 = malloc(512);free(ptr2);free(ptr1);对于没有释放的内存也一样。ptr1 = malloc(512);ptr2 = malloc(512);i <= 512; LUOPING0 2020-04-07 20:03:45