gnulag / circ

#gnulag's IRC bot
BSD 2-Clause "Simplified" License
3 stars 3 forks source link

Fix memory leaks #27

Closed maxaudron closed 5 years ago

colfrog commented 5 years ago

Freeing messages in irc_write_message is not a good solution, we're doing this implicitly and it can lead to unexpected behaviour if we wanted to use the message later. Please remove that and free the messages in core_hooks.c