chux0519 / pegasocks

A lightweight proxy client written in C, intends to support multiple protocols(trojan etc.)
BSD 3-Clause "New" or "Revised" License
116 stars 35 forks source link

fix bufferevent double free bug #34

Closed hw-1 closed 2 years ago

hw-1 commented 2 years ago

i test on ios bufferevent_free(bev) will call in next PGS_FREE_SESSION(session); bev double free

chux0519 commented 2 years ago

Thank you! It's definitely a bug, I think just delete that line would be better, could you make a change to delete that line, and it will be good to merge!

chux0519 commented 2 years ago

Thank you!