DhavalKapil / icmptunnel

Transparently tunnel your IP traffic through ICMP echo and reply packets.
https://dhavalkapil.com/icmptunnel/
3.06k stars 342 forks source link

Free the unfree heap #24

Closed LiYaoYu closed 7 years ago

LiYaoYu commented 7 years ago

I just found that if I kept using the tunnel for a while, about 30 minutes, both memory and heap is full-load. So I checked out the code, I found there was a unfree heap after a calloc(). I just freed it and now it works well.

DhavalKapil commented 7 years ago

Thank you :)