Skip to content

Commit

Permalink
[retain cycles] Enable this issue type
Browse files Browse the repository at this point in the history
Reviewed By: jvillard

Differential Revision: D53758799

fbshipit-source-id: 4087db6890d37f9db1b90ee976bcded24e7f26c6
  • Loading branch information
dulmarod authored and facebook-github-bot committed Feb 14, 2024
1 parent ced5c40 commit 732bfce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion infer/man/man1/infer-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ OPTIONS
QUANDARY_TAINT_ERROR (enabled by default),
REGEX_OP_ON_UI_THREAD (enabled by default),
RESOURCE_LEAK (enabled by default),
RETAIN_CYCLE (disabled by default),
RETAIN_CYCLE (enabled by default),
SCOPE_LEAKAGE (enabled by default),
SENSITIVE_DATA_FLOW (disabled by default),
SHELL_INJECTION (enabled by default),
Expand Down
2 changes: 1 addition & 1 deletion infer/man/man1/infer-report.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ OPTIONS
QUANDARY_TAINT_ERROR (enabled by default),
REGEX_OP_ON_UI_THREAD (enabled by default),
RESOURCE_LEAK (enabled by default),
RETAIN_CYCLE (disabled by default),
RETAIN_CYCLE (enabled by default),
SCOPE_LEAKAGE (enabled by default),
SENSITIVE_DATA_FLOW (disabled by default),
SHELL_INJECTION (enabled by default),
Expand Down
2 changes: 1 addition & 1 deletion infer/man/man1/infer.txt
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ OPTIONS
QUANDARY_TAINT_ERROR (enabled by default),
REGEX_OP_ON_UI_THREAD (enabled by default),
RESOURCE_LEAK (enabled by default),
RETAIN_CYCLE (disabled by default),
RETAIN_CYCLE (enabled by default),
SCOPE_LEAKAGE (enabled by default),
SENSITIVE_DATA_FLOW (disabled by default),
SHELL_INJECTION (enabled by default),
Expand Down
2 changes: 1 addition & 1 deletion infer/src/base/IssueType.ml
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ let resource_leak =


let retain_cycle =
register ~enabled:false ~id:"RETAIN_CYCLE" Error Pulse
register ~enabled:true ~id:"RETAIN_CYCLE" Error Pulse
~user_documentation:[%blob "./documentation/issues/RETAIN_CYCLE.md"]


Expand Down

0 comments on commit 732bfce

Please sign in to comment.