使用malloc时,如果它产生带有错误的核心转储:
malloc(): memory corruption: ....... ***
这是否意味着malloc试图分配无法自由分配的内存?如果是这样的原因是什么?
c malloc free
c ×1
free ×1
malloc ×1