mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02: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