Skip to content

Commit

Permalink
GH-77 Fix p4Free() release of float and return stacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirWumpus committed Nov 24, 2024
1 parent f707fc5 commit 8e6fd22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/post4.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,8 @@ p4Free(P4_Ctx *ctx)
}
/* Data stack in allocated, because Java can grow it. */
free(ctx->ds.base - P4_GUARD_CELLS/2);
free(ctx->fs.base - P4_GUARD_CELLS/2);
free(ctx->rs.base - P4_GUARD_CELLS/2);
free(ctx->input);
free(ctx->block);
free(ctx);
Expand Down

0 comments on commit 8e6fd22

Please sign in to comment.