Skip to content

Commit

Permalink
Resources need to be free
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama86 committed Nov 9, 2019
1 parent 1a4b6d4 commit 57ca5a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stream/ngx_stream_mruby_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ typedef struct {
static void ngx_stream_mrb_upstream_context_free(mrb_state *mrb, void *p)
{
ngx_stream_mruby_upstream_context *ctx = p;
mrb_free(mrb, ctx->ictx->s);
mrb_free(mrb, ctx->ictx);
mrb_free(mrb, ctx);
}

Expand Down

0 comments on commit 57ca5a2

Please sign in to comment.