amnuts / Amnuts

A telnet-based talker
GNU General Public License v2.0
14 stars 6 forks source link

sdsfree everything before return'ing #8

Closed marado closed 5 years ago

marado commented 5 years ago

1970df3b86105c8f9574ba2e8cac687f77efce0b introduces some sds uses, and they all seem alright. However, in two cases, they are in situations where there's a code path that meets a 'return'. In those cases, sdsfree must be called before return.

amnuts commented 5 years ago

Nice spot, thanks!

Uzume commented 5 years ago

It is nice to seem some activity on this again after so little for so long