diff options
-rw-r--r-- | stream.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -83,6 +83,11 @@ int stream_gc(lua_State * L) free(s->in.data); } + if (NULL != s->out.data) + { + free(s->out.data); + } + lua_pop(L, 1); return 0; |
index : plop | ||
Framework for prototyping request-response protocols and servers | Aki |
summaryrefslogtreecommitdiffhomepage |
-rw-r--r-- | stream.c | 5 |
@@ -83,6 +83,11 @@ int stream_gc(lua_State * L) free(s->in.data); } + if (NULL != s->out.data) + { + free(s->out.data); + } + lua_pop(L, 1); return 0; |