Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
c语言实现哈希表的一些问题之释放哈希表
社区开发
653
views ·
2
replies ·
To
floor
Go
kikyoulzg
deepin
2019-11-21 19:58
Author
这是我的理解,但是感觉不对
首先按照我的理解ep = e->next;中的
e->next
是下个节点的意思,但是e->next = ep->next;中的
e->next
却是指向下个节点的指针
按照我的理解 这段代码到最后也没有释放e节点的内存空间
怎么破?
Reply
Like 0
Favorite
View the author
All Replies
kikyoulzg
deepin
2019-11-21 20:25
#1
估计最近和v20无瓜的东西都不会有人看了(/ω\)
Reply
Like 0
View the author
kikyoulzg
deepin
2019-11-24 23:07
#2
然而第一个节点占用的内存并没被释放?
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
WiFi Drivers
Popular Events
More
这是我的理解,但是感觉不对
怎么破?