free () 釋放的是pointer 指向位於heap 的連續記憶體,而非pointer 本身佔有的記憶體(*ptr); glibc 提供了malloc_stats() 和malloc_info() 這兩個函式,可顯示process ...
確定! 回上一頁