File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<overview >
8
8
<p >
9
- This rule finds calls to <code >open</ code > or < code > socket</code > where there is no corresponding <code >close</code > call in the program analyzed.
9
+ This rule finds calls to <code >socket</code > where there is no corresponding <code >close</code > call in the program analyzed.
10
10
Leaving descriptors open will cause a resource leak that will persist even after the program terminates.
11
11
</p >
12
12
13
13
<include src =" aliasAnalysisWarning.qhelp" />
14
14
</overview >
15
15
16
16
<recommendation >
17
- <p >Ensure that all file or socket descriptors allocated by the program are freed before it terminates.</p >
17
+ <p >Ensure that all socket descriptors allocated by the program are freed before it terminates.</p >
18
18
</recommendation >
19
19
20
20
<example >
You can’t perform that action at this time.
0 commit comments