Skip to content

Commit

Permalink
Revert "Consider alloca in special in memLeak"
Browse files Browse the repository at this point in the history
This reverts commit 1ec35c4.
  • Loading branch information
karoliineh committed Jan 12, 2024
1 parent c76a0a2 commit 2c580b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/analyses/memLeak.ml
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ struct
match desc.special arglist with
| Malloc _
| Calloc _
| Realloc _
| Alloca _ ->
| Realloc _ ->
ctx.sideg () true;
begin match ctx.ask (Queries.AllocVar {on_stack = false}) with
| `Lifted var ->
Expand Down

0 comments on commit 2c580b1

Please sign in to comment.