mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
Merge pull request #552 from github/deferinloop-kind
Add @kind to deferinloop.ql
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
* @description A deferred statement in a loop will not execute until the end of the function.
|
||||
* This can lead to unintentionally holding resources open like file handles or database transactions.
|
||||
* @id go/examples/deferinloop
|
||||
* @kind problem
|
||||
* @tags defer
|
||||
* nesting
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user