diff --git a/lualib-src/lua-debugchannel.c b/lualib-src/lua-debugchannel.c index 102f065a..9e4539d3 100644 --- a/lualib-src/lua-debugchannel.c +++ b/lualib-src/lua-debugchannel.c @@ -59,6 +59,7 @@ channel_release(struct channel *c) { free(p); p = next; } + free(c); return NULL; }