討論串RE: cu coredumps
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者nida.時間21年前 (2004/10/28 05:32), 編輯資訊
0
0
0
內容預覽:
> That is actually not strictly true. Some malloc implementations re-use. > the freed memory that was previously assigned to the user for pointers. >
(還有271個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者nida.時間21年前 (2004/10/28 03:32), 編輯資訊
0
0
0
內容預覽:
> That's what I thought, but I thought when you called free() it didn't. > actually touch the data there, just mark it as free for other programs. > t
(還有1503個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者nida.時間21年前 (2004/10/28 02:01), 編輯資訊
0
0
0
內容預覽:
> tmp_cp = malloc(sizeof(char) * 10);. > cp = tmp_cp. > free(tmp_cp);. > tmp_cp = NULL;. >. > then cp would now be pointing to a block of memory that
(還有430個字)
首頁
上一頁
1
下一頁
尾頁